Question: For this programming assignment, you will write a C program that will read an arbitrary number of lines of text from input and print out
For this programming assignment, you will write a C program that will read an arbitrary number of lines of text from input and print out the number of words of each character length. Words are character sequences that include at least 1 upper/lower case alphabet character and may include apostrophe ' and dash - characters as well. No line of input will be longer than 100 characters, and the program should print the word count and exit when it reads an empty line. The program should print out the number of words found of each word length from 1 to 100 only when at least 1 word of that length was found.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
