I am having issues with my output and cannot figure out what is causing it. I have been struggling for 2 days now.. Any help appreciated

Also if I can see how to calculate the minimum and the maximum in the same program, it would be greatly appreciated.

My result when I input numbers are always the following:public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int integers; int[] numbers; numbers = new int[10]; int max; int min; System.out.println("Please enter ten numbers: "); for (int i = 0; i < numbers.length; i++) { numbers[i] = keyboard.nextInt (); }; int input = keyboard.nextInt(); int[] revNumbers; revNumbers = new int[10]; for ( int i = (numbers.length - 1); i >= 0; i--) //problem child { revNumbers[ revNumbers.length - 1] = numbers [ i ]; System.out.println("Numbers in reverse order are: " + i); } } }

"Numbers in reverse order are: 9, Numbers in reverse order are: 8,

Numbers in reverse order are: 7, Numbers in reverse order are: 6

Numbers in reverse order are: 5, Numbers in reverse order are: 4,

Numbers in reverse order are: 3, Numbers in reverse order are: 2,

Numbers in reverse order are: 1, Numbers in reverse order are: 0."

Thank you