[Practice] Vowels and Consonants
Problem Definition
Write a Program to check whether the given character is a Vowel ('A','E','I','O','U','a','e','i','o','u') or consonants. Please use array to store the references for vowels.
Test Data
Sample Input 1:
a
Sample Output 1:
Vowel.
Sample Input 2:
U
Sample Output 2:
Vowel.
Sample Input 3:
R
Sample Output 3:
Consonant.
Comments