#include <stdio.h>
int main()
{
char inputstring[100];
printf("enter the input string:\n");
fgets(inputstring,100,stdin);
printf("the entered string is %s\n",inputstring);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: