Skip to content
Onsite

Vowel or Consonant

EasyP3Coding

ch is a single English letter, upper or lower case. Return "Vowel" if it is one of a, e, i, o, u (in either case), otherwise return "Consonant".

Example 1

Input
ch = "a"
Output
"Vowel"

Example 2

Input
ch = "b"
Output
"Consonant"

Example 3

Input
ch = "E"
Output
"Vowel"

Constraints

  • ch is one letter from A to Z or a to z.

Hints

Run checks the 3 visible tests, Submit all 8.