Question PSC-COND-0003
EasyWhat will be the output of the following pseudocode?
Integer marks = 72
if (marks >= 90)
Print "A"
else if (marks >= 75)
Print "B"
else if (marks >= 60)
Print "C"
else
Print "D"
end if
- A.
D
- B.
B
- C.
Show answer and explanation
Answer: C
72 fails the first two tests and passes marks >= 60, so 'C'.