diff --git a/cv3/program.c b/cv3/program.c index 4a35c3a..273ea93 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -21,11 +21,11 @@ int main() { while (fgets(line, LINESIZE, stdin)) { velkost = strlen(line); if (velkost == 1 && line[velkost - 1] == '\n') { - break; } if (input >= 10){ - + printf("full stack\n"); + vys = 1; break; } if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') {