diff --git a/cv3/program.c b/cv3/program.c index 8f52936..c678089 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -19,6 +19,7 @@ int main(){ fgets(vstup, STACK_SIZE, stdin); vstup[strcspn(vstup, "\n")] = 0; if(strlen(vstup) == 0){ + printf("no input"); break; } if(vstup[0] == '-' || vstup[0] == '+' || vstup[0] == '*' || vstup[0] == '/'){