Question: write in c++ : For this assignment, you will ask the user to enter as many sentences as they wish. We will then count the
write in c++ : For this assignment, you will ask the user to enter as many sentences as they wish. We will then count the unique words they entered as well as the letter frequencies.
You may not make use of the standard library functions sort(), find(), any_of() or anything else from #include
Use functions. The function prototypes must be written in a separate header file. The function definitions must be defined in a separate implementation file. DO NOT use global variables. You must use parameters properly, either pass-by-value or pass-by-reference.
The WordCount struct must be declared in its own header file.
Output must match the formatting in the example.


Below is an example of the program running Enter as many sentences as you like and enter "I'm done!" when completed: The quick brown fox jumps over the lazy dog. A man, a plan, a canal, Panama. The quick brown fox jumps over the lazy dog. This is quite fun. THE THe ThE The tHE tHe thE the I'm done! Word Counts #1A #2 BROWN 2 #3CANAL 1 #4DOG #5FOX #6FUN #71S # 8 JUMPS #9LAZY #10 MAN #11 OVER #12 PANAMA 1 #13 PLAN #14 QUICK #15 QUITE #16 THE #17 THIS 12 Below is an example of the program running Enter as many sentences as you like and enter "I'm done!" when completed: The quick brown fox jumps over the lazy dog. A man, a plan, a canal, Panama. The quick brown fox jumps over the lazy dog. This is quite fun. THE THe ThE The tHE tHe thE the I'm done! Word Counts #1A #2 BROWN 2 #3CANAL 1 #4DOG #5FOX #6FUN #71S # 8 JUMPS #9LAZY #10 MAN #11 OVER #12 PANAMA 1 #13 PLAN #14 QUICK #15 QUITE #16 THE #17 THIS 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
