Question PSC-COND-0067
HardWhat is the output of this pseudocode?
Integer h = 23, m = 50, add = 25
m = m + add
if (m >= 60)
h = h + m / 60
m = m mod 60
end if
if (h >= 24)
h = h - 24
end if
Print h, m
- A.
23 75
- B.
1 15
- C.
Sign up free to see the answer and a step-by-step explanation.