Question: Program called VowelCount. Accept a string from the user and process it to see how many vowels there are in the string. (a, e, i,

  1. Program called VowelCount. Accept a string from the user and process it to see how many vowels there are in the string. (a, e, i, o, u). Return the vowel count to the user. If there are no vowels counted, process the string again to see if there are any 'y's. If there are 'y's, return the count. Otherwise, return "you must have made a spelling mistake somewhere".

2.Reuse part of the code from VowelCount where you find the vowels, just need to make modifications to exit if a vowel is found.The program called VowelFound that reads a line of input from the user (as a string) and find out if there are any vowels in the string.Use a break or continue keyword (whichever is appropriate) to notify that a vowel has been found.Prompt for another string and search again until the user enters 'exit' into the program.

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 Programming Questions!