This commit is contained in:
Damián Korpesio 2021-10-20 11:32:41 +02:00
parent 55e06aa69c
commit 253a53943b

View File

@ -29,7 +29,7 @@ int main() {
break; break;
} }
if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') { if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') {
input =+ 2; input--;
if (a == 1){ if (a == 1){
printf("not enough operands\n"); printf("not enough operands\n");
vys = 1; vys = 1;