You are viewing a single comment's thread. Return to all comments →
int[] a = new int[n]; for(int i = 0; i < n; i++) a[i]=scan.nextInt();
Java 1D Array
You are viewing a single comment's thread. Return to all comments →