Изменить 'du4/program.c'
^^
This commit is contained in:
parent
c67863fa4b
commit
ccfc25ac22
@ -16,7 +16,8 @@ int main(){
|
||||
bool equals = false;
|
||||
|
||||
for(int i = 0; fgets(input, 100, stdin) != NULL; i++){
|
||||
if(!input || !strcmp(input, "") || input[0] == EOF) break;
|
||||
if(!input || !strcmp(input, "") || input[0] == EOF || input[0] == '\n' || input[0] == '\0')
|
||||
break;
|
||||
counter = 0;
|
||||
operation = 0;
|
||||
equals = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user