Objective : Locating the Largest Value in an Array . This was also done it class Write a program that creates an array which can hold ten values . The user must fill the array with random
Program # 01 Description :
Name : DisplayArray
Objective : Locating the Largest Value in an Array . This was also done it class
Write a program that creates an array which can hold ten values . The user must fill the array with random
numbers from 1 to 100 . The program then displays the values in the array on the screen . Then you should
create your java algorithm to search to find the largest value in the array , and display that value and its
slot number .
Expected Output
Content of Display Array : 45 87 39 32 93 86 12 4 4 75 50
The largest value of Display Array is 93
It is in slot 4 of Display Array