#include <stdio.h>
#define MAXUSERIP 5000
int main(){
char ch,words[MAXUSERIP];
int i = 0;
while(1){
ch = getchar();
words[i] = ch;
if (i ==MAXUSERIP || ch == '\0')
break;
i++;
}
printf("\nYou entered the words: \n %s", words);
return 0;
}
//printf("Enter characters. End by pressing
//the Enter key: ");
To embed this project on your website, copy the following code and paste it into your website's HTML: