Question: Question 2 Write a program that will read in a line of text up to 100 characters as string, and output the number of words

Question 2 Write a program that will read in a line of text up to 100 characters as string, and output the number of words in the line and the number of occurrences of each letter. Define a word to be any string of letters that is delimited at each end by whitespace, a period, a comma, or the beginning or end of the line. You can assume that the input consists entirely of letters, whitespace, commas, an
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
