Update a1/program.c
This commit is contained in:
parent
0dbe25d7ae
commit
0f87961d3c
@ -59,6 +59,7 @@ int main()
|
||||
char str[128];
|
||||
|
||||
fgets(str,100,stdin);
|
||||
if(str[strlen(str)-1]=='\n') { str[strlen(str)-1]='\0';}
|
||||
printf("Read: %s", str);
|
||||
|
||||
int i=0;
|
||||
|
Loading…
Reference in New Issue
Block a user