Write a method largestDivisor that takes an integer argument and returns the largest positive integer which is less than the argument that divides the argument. (For example, 10 is the largest divisor of 20.) You may assume that the argument is positive. If the argument is 1, return 0 to indicate that there is no such divisor.
what I have so far:
public static void main(String[] args {
int[][] a = {{10,9,8,7,6,5,4,3,2,1}};
System.out.println(Arrays.toString(a[0]));
}
}