Vowels & Consonants
Create two functions. Each function takes 1 parameter of type String
, give it whatever name you want.
The first function will return the total number of vowels in a given word.
The second function will return the total number of consonants in a given word.
Print the result of both functions to the console.