#include <iostream>
using namespace std;
int main() {
int a[] = {34, 3, 11, 28, 17};
unsigned int i, j;
for (i = 0; i < sizeof(a) / sizeof(int) - 1; i++)
for (j = 0; j < sizeof(a) / sizeof(int) - 1 - i; j++)
if (a[j] > a[j + 1])
swap(a[j], a[j + 1]);
for (i = 0; i < sizeof(a) / sizeof(int); i++)
cout << a[i] << ", ";
cout << endl;
return 0;
}
/* end */