Question: (2) Write a program called FyCalce that reads from keyboard a list of words and produces a list of output. The first output is the
(2) Write a program called FyCalce that reads from keyboard a list of words and produces a list of output. The first output is the list of distinct words in the input well as the number of times cach word occurs. The words should it become s lower case write a helper function to convert a character to lowercase equivalent by gr owinSTL. The second is the list of were letters in the words in the first list. Ignore any on-letter characters red by white candeleted by You may same that the words are of-file d by CTRL-D Ir the input list of wands is adha compuiesce ad Computer scence Frequencies Frequencies Letters You can see that the first time word wording to the words first and then is printed again world according to the frequency first. The same ties to the second list Hint: You may wish to use a map to build the word list. To get a wonted version of the same list, try to data type. The same idea is also applicable to the letter list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
