Question: Language: Java Write a program which asks the user to input 5 integers. Store the integers in an array, and then output the index of
Write a program which asks the user to input 5 integers. Store the integers in an array, and then output the index of the largest element in that array. Enter in element 0: Enter in element 1: -2 Enter in element 2: 4. Enter in element 3: 10 Enter in elmeent 4: 0 The largest element was at index 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
