Aktualizovat „du5/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-09 23:06:41 +00:00
parent 13b4d317b3
commit 547052ae7c

View File

@ -81,8 +81,10 @@ int main(){
} }
} }
if(c>1){
k--; k--;
}
printf("Vysledky:\n"); printf("Vysledky:\n");
for(int i =0;i<k;i++){ for(int i =0;i<k;i++){
printf("%d %s\n",PersonList[i].score,PersonList[i].name); printf("%d %s\n",PersonList[i].score,PersonList[i].name);