Skip to content

Commit 479469d

Browse files
authored
Create README.md
1 parent 22fd6f3 commit 479469d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This is my solution to CS50X's readability problem where you're supposed to take any provided written text and output an estimated grade/reading level of the text provided.
2+
3+
According to Coleman-Liau index which is computed using index = 0.0588 * L - 0.296 * S - 15.8 I was to calculate the reading level with the following expectations:
4+
5+
1. f the resulting index number is 16 or higher (equivalent to or greater than a senior undergraduate reading level), your program should output “Grade 16+” instead of outputting an exact index number.
6+
2. If the index number is less than 1, your program should output “Before Grade 1”.
7+
3. Otherwise output the associated reading level between 1 and 16.

0 commit comments

Comments
 (0)