for second loop and in inner condition
for ( int index = 0; index < data.length; index++)
if (largest2 < data[index && largest2<largest1]) {
largest2 = data [index];
system print etc
I am not sure but try this

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.