Question: 5 4 3 7 6 4 . 3 8 9 6 9 3 2 . q 3 z q y Jump to level 1 Type

543764.3896932.q3zqy
Jump to level 1
Type the program's output
public class GradeNormalizer {
public static int normalizeGrade(int grade){
int upperBound =74;
int lowerBound =45;
if (grade upperBound)
return upperBound;
}
else if (grade lowerBound)
return lowerBound;
}
else {
return grade;
}
}
public static void main(String[] args) i
int grade1= normalizeGrade (79);
int grade 2= normalizeGrade (22);
int grade3= normalizeGrade (56);
System. out.println (grade1);
system.out.println (grade2);
system.out.println (grade3) ;
}
}
1
 543764.3896932.q3zqy Jump to level 1 Type the program's output public class

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!