Question: 6.9 Lab: Vowel counter Write a program that repeatedly reads a sentence and prints the number of vowels in it until the user enters 'exit'.

6.9 Lab: Vowel counter Write a program that repeatedly reads a sentence and prints the number of vowels in it until the user enters 'exit'. Assume that a, e, i, o, u, and y are vowels. Design your program to match the sample execution below. Sample Execution Please enter a sentence: There are 10 types of people in the world. Vowels: 13 Please enter a sentence: Those who understand binary and those who don't. Vowels: 14 Please enter a sentence: exit LAB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!