15. Vowel or Consonant
Foundation1000 ms256 MBSolved by 0%
Read a single English letter and print Vowel if it is one of
a, e, i, o, u, or Consonant otherwise.
The letter may be uppercase or lowercase, and both cases count the same.
Constraints - The input is exactly one character, `a`–`z` or `A`–`Z`.
Input
A single line containing one letter, upper or lower case.
Output
Print exactly one word: Vowel or Consonant.
Inputa
OutputVowel
Noteis a lowercase vowel
Inputk
OutputConsonant
Noteis a lowercase consonant
Hints
Four rungs, in order. The last two open once you have submitted an attempt. A wrong one counts.
Hint 1Where to start
Hint 2The approachOpen hint 1 first. This one carries on from it.
Hint 3PseudocodeOpen hint 2 first. This one carries on from it.
Hint 4Full solutionOpen hint 3 first. This one carries on from it.