From 253a53943bdd04471bdee84716f27e37bc1ba148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Korpesio?= Date: Wed, 20 Oct 2021 11:32:41 +0200 Subject: [PATCH] prvy --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;