Изменить 'du4/program.c'
^^
This commit is contained in:
parent
9d724fe363
commit
0cba852f87
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user