Изменить 'du4/program.c'

^^
This commit is contained in:
Oleksandr Hryshchenko 2021-04-01 15:17:39 +00:00
parent 9d724fe363
commit 0cba852f87

View File

@ -34,7 +34,12 @@ int main() {
operation = 1;
break;
case '-':
operation = 2;
if(operation == 0)
operation = 2;
else{
result[strlen(result)] = symbol;
result[strlen(result)] = '\0';
}
break;
case '*':
operation = 3;