A list of puns related to "ColemanβLiau index"
DISCLAIMER: I just poured my brain into text without filtering.
I wrote the readability program, looks beautiful, works, sent it in, all good.
But whats still nagging me is I dont understand the formula. More specifically, how L and S are decided.
Index = 0.0588 L - 0.296S - 15 LΒ is the average number of letters per 100 words.Β SΒ is the average number of sentences per 100 words.
Alright cool. (For simplicity) Say idk 500 letters, 100 words, 10 sentences. (Example; "hello hello hello hello hello hello hello hello hello hello. X10) My brain is telling me: L = (letters divided by words) * 100 L = (500/100) * 100 = 500 S = (sentences divided by words) * 100 S = (10/100) * 100 = 100
Alright, cool.
Only problem is i dont know WHY we are multiplying anything by 100. What are the steps in this process supposed to be?
Someone please help, i dont understand. Also im sorry if my thought process doesnt make sense.
So basically I've been having issues with getting the correct reading Grade for the "How to Test Your Code" section
For " One fish. Two fish. Red fish. Blue fish." I get Grade 2 for when it should be Before Grade 1
For " A large class of computational problems involve the determination of properties of graphs, digraphs, integers, arrays of integers, finite families of finite sets, boolean formulas and elements of other countable domains. " I get Grade 14 when it should be Grade 16
Here is my code
#include <stdio.h>
#include <cs50.h>
#include <ctype.h>
#include <string.h>
#include <math.h>
int main(void)
{
string t = get_string("Text: ");
int letter = 0;
int word = 1;
int sentence = 0;
for (int i= 0, n = strlen(t); i < n; i++)
{
if( isalpha(t[i]))
{
letter += 1;
}
if( isspace(t[i]))
{
word += 1;
}
if( t[i] == '.' || t[i] == '!' || t[i] == '?')
{
sentence += 1;
}
}
float L = (letter/word) * 100;
float S = (sentence/word) * 100;
float CLI = (0.0588 * L) - (0.296 * S) - 15.8;
int grade = (round(CLI));
if (grade > 16)
{
printf("Grade 16+ \n");
}
else if (grade < 1)
{
printf("Before Grade 1 \n");
}
else
printf("Grade %i \n", grade);
}
#Box Score
##Scoreboard - Final!
Team | 1 | 2 | 3 | Total |
---|---|---|---|---|
MTL | 0 | 1 | 0 | 1 |
TB | 0 | 2 | 1 | 3 |
##Scoring
##Penalties
##Shots On Goal
Team | 1 | 2 | 3 | Total |
---|---|---|---|---|
MTL | 13 | 16 | 14 | 43 |
TB | 6 | 7 | 10 | 23 |
#Next Games
Date | Time | Opponent | TV |
---|---|---|---|
7/2/21 | 8:00 PM | @ MTL | NBC :( |
7/5/21 | 8:00 PM | @ MTL | NBC :( |
7/7/21 | 8:00 PM | vs. MTL | NBC :( |
7/9/21 | 8:00 PM | @ MTL | NBC :( |
7/11/21 | 7:00 PM | vs. MTL | NBC :( |
#Notes
Man, this was quite the uneven game but the Bolts gritted it out when it mattered!
GO BOLTS!!!
Please bring him back. That is all.
>If you want to believe that Roger Coleman was the man who raped and murdered 19-year-old Wanda McCoy, his sister-in-law, on the night of March 10, 1981, in her small home in the coal-mining town of Longbottom, Virginia, you have to accept that Coleman managed to park his truck, ford a creek, scramble up some 300 yards of hillside, and commit the entire grisly crime in the span of 30 minutesβall without leaving a single fingerprint at the crime scene or drenching himself in blood, despite slashing the victimβs carotid and jugular arteries.
>A Virginia jury convicted 22-year-old Coleman of the rape and first-degree murder of McCoy in 1982, and sentenced him to death by electrocution. For the next 10 years, Coleman and his defense attorneys strenuously protested his innocence. They cited the improbable timeline, the hostile small-town trial venue, and the lack of definitive DNA evidence. Although hairs and semen were found at the scene, testing at the time could sort them only into broad types, not conclusive matches.
>By 1992, Colemanβs crusade had evolved into the first modern death-row innocence campaign. In the days before his execution, Time magazine ran a cover story on Coleman that strongly suggested his innocence; Chris Wallace interviewed Coleman in a Nightline feature protesting the upcoming execution; and on the day Coleman was put to death, USA Today ran letters from its readers responding to a question posed by an earlier editorial solicitation: βDoes it worry you that innocent people might be executed?β Colemanβs case had apparently unearthed this possibility for a significant segment of the public.
>A decade after Colemanβs death, activists were still agitating for his exoneration. By 2003, when a request for posthumous testing of Colemanβs DNA against the samples found at the 1981 crime scene arrived on Virginia Governor Mark Warnerβs desk, technological developments had rendered precise comparisons between scant collections of cells possible. In 2006, Warner ordered that the tests be runβthe first such order in American history.
>Counter to what Colemanβs supporters had suspected, the semen found in McCoyβs body belonged to the man executed for her murder. Apparently, Coleman was a liar, a rapist, a killer, and a guilty man.
ETA The relevance to MaM:
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.