Aktualizovat „du5/program.c“

This commit is contained in:
Artem Horbunov 2020-04-07 14:35:24 +00:00
parent 1f114e76ed
commit 7e66c53777

View File

@ -52,7 +52,7 @@ int main(){
strcpy(newName[i], newName[i + 1]);
strcpy(newName[i + 1], tmpName);
i = 0;
i = -1;
}
else if(newScore[i] == newScore[i + 1]){
int test = 0;
@ -80,10 +80,11 @@ int main(){
break;
}
}
i = -1;
}
}
printf("Vysledky:\n");
printf("Vysledky:\n");
for(int i = 0; i < newPos; i++){
printf("%d %s\n", newScore[i], newName[i]);
}