From 55e06aa69c66a76c59b5a90fdb7f3330807d2eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Korpesio?= Date: Wed, 20 Oct 2021 11:29:36 +0200 Subject: [PATCH] prvy --- cv3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] == '/') {