Question: Write a program that reads in lines from the input. After each line is read in, it prints out the number of capital vowels, the

Write a program that reads in lines from the input. After each line is read in, it prints out the number of capital vowels, the number of capital consonants, and the number of other characters in the line. Input The input is just any line of characters Output The output will be the number of CAPITAL vowels (aeiou), the number of CAPITAL consonants (i.e. not vowels), and the number of other characters in the line. These are separated by a single space between them Sample Input aokEKOkM49!4kP AAAAOOPPPELL994920;[];.: and //that means it must be a capital consonant ELSE it is something else Write a program that reads in lines from the input. After each line is read in, it prints out the number of capital vowels, the number of capital consonants, and the number of other characters in the line. Input The input is just any line of characters Output The output will be the number of CAPITAL vowels (aeiou), the number of CAPITAL consonants (i.e. not vowels), and the number of other characters in the line. These are separated by a single space between them Sample Input aokEKOkM49!4kP AAAAOOPPPELL994920;[];.: and //that means it must be a capital consonant ELSE it is something else
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
