refresh
This commit is contained in:
parent
acf707a594
commit
b78bd71a47
@ -68,8 +68,10 @@ int main() {
|
|||||||
|
|
||||||
qsort(students, count, sizeof(Student), compare);
|
qsort(students, count, sizeof(Student), compare);
|
||||||
|
|
||||||
|
printf("Vysledky:\n"); // Добавляем строку "Vysledky:" перед выводом результатов
|
||||||
|
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
printf("%s %d\n", students[i].name, students[i].golosa);
|
printf("%d %s\n", students[i].golosa, students[i].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
BIN
du4/program.exe
BIN
du4/program.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user