Question PSC-COND-0025
EasyWhat is the output of this pseudocode?
Integer y = 1900
if ((y mod 4 == 0 and y mod 100 != 0) or y mod 400 == 0)
Print "leap"
else
Print "not leap"
end if
- A.
leap
- B.
Error
- C.
Sign up free to see the answer and a step-by-step explanation.