Is there a code to check if a character is a vowel or consonant? Some thing like char = IsVowel? Or need to hard code?
case ‘a’: case ‘e’: case ‘i’: case ‘o’
Why not create an array of the vowels/consonants and check if the value is in the array?