Question PSC-COND-0018
HardWhat will be the output of the following pseudocode?
Integer s = 85, a = 92
String r
if (s >= 80)
if (a >= 90)
r = "Eligible with scholarship"
else
r = "Eligible"
end if
else
r = "Not eligible"
end if
Print r
- A.
Eligible
- B.
Not eligible
- C.
Sign up free to see the answer and a step-by-step explanation.