Aktualizovat „du5/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-09 23:12:07 +00:00
parent 47457e7ce0
commit 94423e22b3

View File

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