Question: 6 In the following algorithm, which constant should be assigned to maximum to ensure that the algorithm finds the largest integer? ( 2 points )
In the following algorithm, which constant should be assigned to maximum to ensure that the algorithm finds the largest integer? points
int maximum constant ;
for int current ; current numbers.length; current
if maximum numbers current
maximum numbers current;
Select one:
a Int.MINVALUE
b Int.MAXVALUE
c Integer.MAXVALUE
d Integer.MINVALUE
Clear my choice
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
