Question: Statistics lab using C Arrays #include Text Sta The purpose of this assignment is to give you practice using text and da processing techniques in

Statistics lab using C Arrays #include

Statistics lab using C Arrays #include Text Sta The purpose of this

assignment is to give you practice using text and da processing techniques

Text Sta The purpose of this assignment is to give you practice using text and da processing techniques in order to compute some statistics about a f The assignment will also give you a chance to learn more about str and about how to organize a moderate-sized program. file of text Construct a program, stats.c, to examine the characters and wo file, getty.txt. Your program should perform the following operations a dala Count the number of lines in the text. Count the number of words in the text. . Calculate the average length of all the words in the text. Display a histogram of the length of words in the text, i.e., a bar graph such as. 1: 2** to indicate that there are 2 one letter words in the text, 6 two letter words, 3 three letter words, 8 four letter words, etc. Count the number of characters in the text, excluding blanks and punctuation. Display a table showing the frequency of each letter in the text. Count the number of vowels in the text and output the frequency vowel as a percentage of the total number of vowels read. e frequency of Remember that the main () function should appear as the first functo program. Be sure to use function prototypes for each of the functions used in your program. that are

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!