#include<stdio.h>
#include<string.h>
void printString(char arr[]);
int main() {
char str[100];
char ch;
int i=0;
while(ch != '\n'){
scanf("%c",&ch);
str[i]=ch;
i++;
}
str[i]='\0';
puts(str);
}
To embed this program on your website, copy the following code and paste it into your website's HTML: