import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter 10 numbers: "); int[] numbers = new int[10]; for(int i = 0; i < 10; i++) numbers[i] = input.nextInt(); input.close(); for(int i = 9; i >= 0; i--) System.out.print(numbers[i] + " "); } }