diff --git a/cv10/program.c b/cv10/program.c index 1ccc395..7d635ce 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -10,7 +10,7 @@ int main() { char prvy_input[100]; if (fgets(prvy_input, sizeof(prvy_input), stdin) == NULL || atoi(prvy_input) <= 0) { printf("Nespravny vstup\n"); - return 1; + return 0; } while (fgets(pole[pocet_studentov], sizeof(pole[pocet_studentov]), stdin) != NULL) {