You are viewing a single comment's thread. Return to all comments →
int []arr = new int[n]; while(--n >=0) arr[n] = scan.nextInt(); while(arr.length-n>1) System.out.println(arr[arr.length-1 - ++n]);
Java 1D Array
You are viewing a single comment's thread. Return to all comments →