Question: int [ ] myArray = new int [ ] { 1 , 3 , 1 8 , 5 , 7 , 2 3 } ;

int[] myArray = new int[]{1,3,18,5,7,23};
int max = myArray[0];
for ( int i =1; i < myArray.length; i++){
if ( myArray[i]< max){
max = myArray[i];}
a.8
b.23
c. None of the above
d.1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!