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:
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
Get step-by-step solutions from verified subject matter experts
