Skip to content

Add control_work#29

Open
Quark1111 wants to merge 1 commit intomainfrom
Control_work_c
Open

Add control_work#29
Quark1111 wants to merge 1 commit intomainfrom
Control_work_c

Conversation

@Quark1111
Copy link
Owner

No description provided.

@Quark1111 Quark1111 requested a review from chernishev December 19, 2025 13:39
Comment on lines +26 to +34
for (int i = 0; i < size - 1; i++) {
for (int j = 0; j < size - i - 1; j++) {
if (arr[j] > arr[j + 1]) {
int temp = arr[j];
arr[j] = arr[j + 1];
arr[j + 1] = temp;
}
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь предполагалось использование библиотечной функции qsort, но так тоже нормально.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants