Question: C++ Exercise 1: Write a functional design and a program to analyze a sample of text. Count the instances of the following categories of symbols:

C++  C++ Exercise 1: Write a functional design and a program to

Exercise 1: Write a functional design and a program to analyze a sample of text. Count the instances of the following categories of symbols: . Uppercase letters e Lowercase letters . Digits . End-of-sentence markers (periods, exclamation points, and question marks) . Intrasenterce markers (commas, semicolons, and colons) Blanks . All other symbols Use a switch statement in your processing. After collecting these statistics, use them to approximate the following statistics: . Average word length . Average sentence length Exercise 2: Design and implement a test plan for the program in Exercise Exercise 3: In Chapter 5, Postlab Exercise 4, you were asked to evaluate cholesterol levels. Enclose that program in a loop that continues until the user enters a negative LDL value. You may assume that there will be at least one vald LDL entry

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!