| about | help | code help+videos | done | prefs |
smog() - The SMOG (Simple Measure of Gobbledygook) Formula estimates the grade level of a document using the average number of complex words per sentence, where a complex word is considered to be any word of three or more syllables. The SMOG grade level is defined to be 1.043*sqrt(30*avgComplexWordsPerSentence) + 3.1291. You are given the number of sentences and the number of complex words in a document, and must calculate the SMOG grade level. The grade level should be rounded to the nearest integer. smog(20, 20) → 9 smog(100, 200) → 11 smog(1, 0) → 3 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy