oprava?
This commit is contained in:
parent
4a873fe7e4
commit
59ad62a11a
@ -61,6 +61,10 @@ int main() {
|
|||||||
//printf("%d %s\n"student[i].votes, student[i].name[i]);
|
//printf("%d %s\n"student[i].votes, student[i].name[i]);
|
||||||
|
|
||||||
printf("Vysledky:\n");
|
printf("Vysledky:\n");
|
||||||
|
if (velkost_zoznamu == 0) {
|
||||||
|
printf ("Nepodarilo nacitat nic\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
for (int i = 0; i < velkost_zoznamu; i++) printf ("%d %s\n", studenti[i].votes, studenti[i].name);
|
for (int i = 0; i < velkost_zoznamu; i++) printf ("%d %s\n", studenti[i].votes, studenti[i].name);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user