diff --git a/cv3/program.c b/cv3/program.c index 273ea93..907ed7d 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -29,7 +29,7 @@ int main() { break; } if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') { - input =+ 2; + input--; if (a == 1){ printf("not enough operands\n"); vys = 1;