C/User Input2.c

10 lines
166 B
C

#include <stdio.h>
int main()
{
char myString[100];
printf("Message: ");
fgets(myString, sizeof(myString), stdin);
printf("%s\n", myString);
return 0;
}