Question: JAVA QUESTION: The grade level is calculated with the following formula: 0.39 (total words/total sentence) + 11.8 (total syllables/total words) - 15.59 Problem. Using this
JAVA QUESTION:

The grade level is calculated with the following formula: 0.39 (total words/total sentence) + 11.8 (total syllables/total words) - 15.59 Problem. Using this formula and your knowledge of how to input and output text files, write a program that will take in a text file and return the number of words in the text, the number of sentences in the text, the number of syllables in the text, and the Flesch-Kincaid Grade Level. Please use the three files provided (gettysburg.txt, declaration.txt, and green_eggs_and_ham.txt. Assumption: the number of syllables for each word is the number of letters in the word divided by three. Use integer math to calculate the number of syllables for each word. Constraint: This program requires two classes: GradeLevel and GradeLevelTest. GradeLevel will be the repository for all methods, other than main, used in the grade level calculations. Examples: processLine, wordCount, sentenceCount, numberSyllables, , , . GradeLevelTest will have the main method. Additional Requirement: Use at least one Exception Handling Mechanism
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
