Initialization

This commit is contained in:
Kozar 2024-03-21 17:37:37 +01:00
parent e8c5562217
commit f23cadc47a

View File

@ -46,7 +46,7 @@ int main() {
char name[SIZE]; char name[SIZE];
if (sscanf(line, "%d %[^\n]", &votes, name) != 2) { if (sscanf(line, "%d %[^\n]", &votes, name) != 2) {
if (successful_lines >= 1){ if (successful_lines >= 1){
continue; break;
} }
else{ else{
printf("Nepodarilo nacitat nic\n"); printf("Nepodarilo nacitat nic\n");