Question: Vowel Program (cont.) CSCI 111 Programming and Algorithms I Task list 1. Create a source code file named lab14.cpp 2. The goal of this program
Vowel Program (cont.) CSCI 111 Programming and Algorithms I Task list 1. Create a source code file named lab14.cpp 2. The goal of this program is to prompt the user for 3 sentences. For each sentence, calculate the frequency of each vowel as done in Lab 13. Store variable counters for each sentence. Store both the letter and its frequency 3. After performing step 2 for all 3 sentences, determine which sentence has he most occurrences of a vowel and display the complete results as shown belovw 4. It is OK to assume that there is never a tie of the most popular letter for each sentence. This will save much time. Hint: So, ensure your test data follows this rule. 5. Refer to the expected output listing below SAMPLE OUTPUT just wAnt to BANG on the drm all day LONG 0: 3 The most popular letter foz sentence 0 is ac having 4 OCCurrences Enter sentence 1 The teacher told ME to stay after school : 0 u: 0 The most popular letter for sentence The BOss is a Jerk 1 is >ex having S occurrences : 0 nie most popular lotter for sentenc * 2 i# xe ae>e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
