Question: In java Please :) 2. Write a java program that prompts the user to enter the element of an array then prompts the user to

In java Please :)
2. Write a java program that prompts the user to enter the element of an array then prompts the user to enter the elements. Finally, the program must find the largest number in an array by comparing elements of array with each other we get the largest number of the array. Output - Lab/ (run) * > run: D Enter number of elements in the array:5 Enter elements of array: 20 30 11 34 28 Maximum value: 34 BUILD SUCCESSFUL (total time: 18 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
