First question here. I am having some issues with the index equation for the readability problem. The code compiles and runs, and I believe it counts the letters, words, and sentences correctly. As written, the resulting values for variables "words_clf" and "sentences_clf" are incorrect which throws off the rest of the equation. Not quite sure what or where my mistake is.
I appreciate the help and let me know if there are other suggestions.
words_clf = 0.0588 * (letters / words_p1 * 100);
printf("Words CLF: %f\n", words_clf);
sentences_clf = 0.296 * (sentences / words_p1 * 100);
printf("Sentences CLF: %f\n", sentences_clf);