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