Aktualizovat „du5/program.c“
This commit is contained in:
parent
ffa520e443
commit
fb7c5d769d
@ -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]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user