Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

How many molecules are present in 0.241 mol N 2 O?

Answered: 1 week ago

Question

Describe the seven standard parts of a letter.

Answered: 1 week ago

Question

Explain how to develop effective Internet-based messages.

Answered: 1 week ago

Question

Identify the advantages and disadvantages of written messages.

Answered: 1 week ago