Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started