public static void main3(String[] args) {
int array[] = { 8, 19, 88, 16, 34, 3, 10, 21 };
for (int i = 0; i < array.length - 1; i++) {
for (int j = 0; j < array.length - 1; j++) {
if (array[j] < array[j + 1]) {
int score = array[j];
array[j] = array[j + 1];
array[j + 1] = score;
}
}
}
for (int i = 0; i < array.length; i++) {
System.out.println(array[i]);
}
}