Question: write it in C Write a program that reads three lines(max length 50) of English text and prints out the number of one-letter words, two-letter
Write a program that reads three lines(max length 50) of English text and prints out the number of one-letter words, two-letter words, three-letter words, as so on to ten-letter words. Use "strtok" and "strlen" functions in "string" library Enter three 1ines of text: This program determines the 1ength of each word in the input text. The input text here has words of several different 1engths. 3 words of length 2 4 words of length 3 6 words of length 4 3 words of length 5 1 word of 1ength 6 3 words of 1ength 7 1 word of 1ength 9 1 word of 1ength 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
