This commit is contained in:
Maryna Kravtsova 2020-10-11 14:45:16 +02:00
parent 161b9f4bd9
commit 1cd2bd1a91

View File

@ -47,6 +47,7 @@ int main() {
float r = 0; float r = 0;
if(!isdigit(line[0]) && line[0] != '+' && line[0] != '*' && line[0] != '/' && line[0] != '-'){ if(!isdigit(line[0]) && line[0] != '+' && line[0] != '*' && line[0] != '/' && line[0] != '-'){
printf("no input");
return 0; return 0;
} }