From 41c80d88290f16a1998e616be7d518b7233bda65 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 21 Mar 2024 17:41:59 +0100 Subject: [PATCH] Initialization --- cv5/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv5/program.c b/cv5/program.c index 9cf550e..5433464 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -38,8 +38,7 @@ int main() { // check if the line is empty if (r == NULL || (r[0] == '\n' && strlen(r) == 1)) { // end of input - printf("Nepodarilo nacitat nic\n"); - return 0; + break; } // parse the string and extract number of votes and student name