Aktualizovat „du5/program.c“

This commit is contained in:
Artem Horbunov 2020-04-08 06:32:47 +00:00
parent ffa520e443
commit fb7c5d769d

View File

@ -98,8 +98,13 @@ int main(){
} }
} }
printf("Vysledky:\n"); if(pos == 0){
for(int i = 0; i < newPos; i++){ printf("Nepodarilo nacitat nicn\n");
printf("%d %s\n", newScore[i], newName[i]); }
else{
printf("Vysledky:\n");
for(int i = 0; i < newPos; i++){
printf("%d %s\n", newScore[i], newName[i]);
}
} }
} }