Question: int studentGrade = 7 0 ; if ( studentGrade > = 9 0 ) { System.out.println ( A ) ; } else {

int studentGrade =70;
if (studentGrade >=90){
System.out.println("A");
} else {
if (studentGrade >=80){
System.out.println("B");
} else {
if (studentGrade >=70){
System.out.println("C");
} else {
if (studentGrade >=60){
System.out.println("D");
} else {
System.out.println("F");
}
}
}
}
Based on the JAVA code snippet above, what is the output?
Group of answer choices
A
B
C

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!