diff --git a/cv3/program.c b/cv3/program.c index c678089..11bfaf8 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -20,7 +20,7 @@ int main(){ vstup[strcspn(vstup, "\n")] = 0; if(strlen(vstup) == 0){ printf("no input"); - break; + return 0; } if(vstup[0] == '-' || vstup[0] == '+' || vstup[0] == '*' || vstup[0] == '/'){ if(vstup[0] == '-'){