Aktualizovat „du5/program.c“
This commit is contained in:
parent
47457e7ce0
commit
94423e22b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user