Question: Long Answer (20 points). Fill in the program below to read a word through the command line (using argv) and print the total number of
Long Answer (20 points). Fill in the program below to read a word through the command line (using argv) and print the total number of vowels (a, e, i, ou, and sometimes y) in the word. For example, "alphabet" would print 3 (2 a's and 1 e). "gym would print 1 (for the y). Assume the letter y only counts as a vowel when there are no other vowels in the word (though there are other cases too, they are not expected to be considered for this question). You may assume the word contains only the 26 lower case letters of the English alphabet. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
