Hi. I know that the loop is only for 5 times and this is because when I am trying the program it's just waste of time to try in every time with 20 examples. And my program work correctly but I have to delete the lines of code:
for (int x : array) {
            System.out.println(x);
        }
So imho I did everything good and program is sorting the numbers in decreasing order but I just want to pass the task so can you help me with that?