diff --git a/cv5/program.c b/cv5/program.c index cd5c87e..0a0231b 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -46,10 +46,11 @@ int main() { char name[SIZE]; if (sscanf(line, "%d %[^\n]", &votes, name) != 2) { if (successful_lines >= 1){ - break; + continue; } else{ - printf("Nepodarilo nacitat nic"); + printf("Nepodarilo nacitat nic\n"); + break; } }