Question: *IN C LANGUAGE Given several lines of text, your program should implement at least the following functions (in other words, additional functions may be useful,

*IN C LANGUAGE

*IN C LANGUAGE Given several lines of text, your program should implement

Given several lines of text, your program should implement at least the following functions (in other words, additional functions may be useful, depending on the approach used): a) void letterAnalysis(), that gets several lines of text and the number of lines of text as input parameters and prints a table indicating the number of occurrences of each letter of the alphabet in the complete text. b) int wordLengthAnalysis(), that gets several lines of text, the number of lines of text and a length as input parameters and returns the number of occurrences of words with that length appearing in the text. The main() function should call this function with different word lengths and then prints a table indicating the number of one-letter words, two-letter words, three-letter 5 words, and so on, in the text. The maximum word length may be assumed to be 20 letters. c) void wordAnalysis(), that gets several lines of text and the number of lines of text as input parameters and prints a table indicating the number of occurrences of each different word in the text. The program should include the words in the table in the same order in which they appear on the text

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!