#include <stdio.h> 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 project on your website, copy the following code and paste it into your website's HTML: