This is a C program that analyzes the readability of a given block of text using the Coleman–Liau Index.
- Prompts the user to enter a block of text.
- Counts:
- Letters
- Words
- Sentences
- Calculates the readability grade level based on the Coleman–Liau formula:
Where:
Lis the average number of letters per 100 wordsSis the average number of sentences per 100 words
Text: Congratulations! Today is your day. You're off to Great Places! Grade 3
- C
- Standard C libraries (
<stdio.h>,<ctype.h>, etc.)