Aktualizovat „du5/program.c“
This commit is contained in:
parent
547052ae7c
commit
1d395a91a2
@ -81,12 +81,10 @@ int main(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if(c>1){
|
c-=(k+1);
|
||||||
k--;
|
|
||||||
}
|
|
||||||
|
|
||||||
printf("Vysledky:\n");
|
printf("Vysledky:\n");
|
||||||
for(int i =0;i<k;i++){
|
for(int i =0;i<c;i++){
|
||||||
printf("%d %s\n",PersonList[i].score,PersonList[i].name);
|
printf("%d %s\n",PersonList[i].score,PersonList[i].name);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user