From 005b98db7d3abc6ea0911443307eb1b9453d7d96 Mon Sep 17 00:00:00 2001 From: Bohdan Kapliuk Date: Sat, 12 Oct 2024 15:26:26 +0300 Subject: [PATCH] cv3 --- cv3/program.c | 1 + 1 file changed, 1 insertion(+) 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] == '/'){