diff --git a/du6/program b/du6/program index 6495810..a7a247b 100755 Binary files a/du6/program and b/du6/program differ diff --git a/du6/program.c b/du6/program.c index 91ede4b..625f6c1 100644 --- a/du6/program.c +++ b/du6/program.c @@ -24,17 +24,35 @@ int main(){ if(pocet>pocet_mien){ pocet=pocet_mien; } + int index=0; + puts("Prijati studenti:"); for(int i=0; i=pocet_mien){ + return 0; + } + printf("%s\n", mena[index]); + index++; + } if(pocet=pocet_mien){ + return 0; + } + printf("%s\n", mena[index]); + index++; } } +