This commit is contained in:
Oleksandr Vyshniakov 2025-03-20 17:37:18 +01:00
parent acf707a594
commit b78bd71a47
2 changed files with 3 additions and 1 deletions

View File

@ -68,8 +68,10 @@ int main() {
qsort(students, count, sizeof(Student), compare);
printf("Vysledky:\n"); // Добавляем строку "Vysledky:" перед выводом результатов
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;

Binary file not shown.