Hi chemy G,
a solution can be sort the array.
The code is
System.out.println( "Please input the array: " );
a = ITI1120.readIntLine();
Arrays.sort(a);
first = a[a.length-1];
second =...
Type: Posts; User: lucasantos
Hi chemy G,
a solution can be sort the array.
The code is
System.out.println( "Please input the array: " );
a = ITI1120.readIntLine();
Arrays.sort(a);
first = a[a.length-1];
second =...