Multiple if else conditions output - Java Quiz Question


What will be the output of the following program?


A
Pass
B
Distinction
Pass
Better luck next time
C
Distinction
Pass
D
Distinction
E
Fail
Better luck next time