- #1
abedhamayl
- 4
- 0
Write a program that reads a paragraph of 4 lines of text. The user can enter extra spaces between words. The length of each line does not exceed 50 characters. The program should output the following: ((Use pointers))
1. A table indicating the occurrence of each letter of the alphabet in the text.
2. The input paragraph without extra spaces between words.
3. Average word length in the paragraph.
4. The list of words in the paragraph sorted in alphabetical order.
5. The 4 lines in the paragraph sorted in ascending order of length.
please help me
1. A table indicating the occurrence of each letter of the alphabet in the text.
2. The input paragraph without extra spaces between words.
3. Average word length in the paragraph.
4. The list of words in the paragraph sorted in alphabetical order.
5. The 4 lines in the paragraph sorted in ascending order of length.
please help me