Question: Write a program that counts the number of vowels in a string using a while loop. Sample outputs: Enter a string: ad cd The string

 Write a program that counts the number of vowels in a

Write a program that counts the number of vowels in a string using a while loop. Sample outputs: Enter a string: ad cd The string has 1 vowel. Enter a string: Hello WORLD The string has 3 vowels. Enter a string: cdf The string has 0 vowel

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!