Question PSC-COND-0064
HardWhat will be the output of the following pseudocode?
Integer x = 15
if (x mod 3 == 0 and x mod 5 == 0)
Print "FizzBuzz"
else if (x mod 3 == 0)
Print "Fizz"
else if (x mod 5 == 0)
Print "Buzz"
end if
if (x > 10 or x / 0 == 1)
Print "big"
end if
- A.
Fizz big
- B.
FizzBuzz
- C.
Sign up free to see the answer and a step-by-step explanation.