Question PSC-COND-0040
EasyWhat is the output of this pseudocode?
Character ch = 'e'
if (ch == 'a' or ch == 'e' or ch == 'i' or ch == 'o' or ch == 'u')
Print "vowel"
else
Print "consonant"
end if
- A.
Error
- B.
consonant
- C.
Sign up free to see the answer and a step-by-step explanation.