Question PSC-COND-0063
HardWhat does the following pseudocode print?
Integer marks = 74, bonus = 0
if (marks >= 70)
bonus = 5
end if
marks = marks + bonus
if (marks >= 90)
Print "A"
else if (marks >= 75)
Print "B"
else
Print "C"
end if
- A.
B
- B.
C
- C.
Sign up free to see the answer and a step-by-step explanation.