I have been working on cs50 problem set 2 and I have come across the error
readability.c:35:1: error: expected expression
else if( index > 16)
^
My code is as follows
if(index < 1)
{
printf("Before Grade 1");
else if (index > 16)
{
printf("Grade 16+");
}
else
{
printf("Grade %i", (int)index);
}
}