funguje
This commit is contained in:
parent
f238b4a183
commit
20bec6e95f
@ -89,9 +89,9 @@ int main()
|
||||
char input[1000];
|
||||
while (fgets(input,sizeof(input),stdin)!=NULL)
|
||||
{
|
||||
if(input[0]==10)
|
||||
if(input[0]==10 || input[0]==13)
|
||||
{
|
||||
printf("no input");
|
||||
printf("no input\n");
|
||||
return 0;
|
||||
}
|
||||
if((input[0]>=0 && input[0]<=47) || (input[0]>=58 && input[0]<=127))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user