if (score >= 90)
return 'A';
else if (score >= 80)
return 'B';
else if (score >= 70)
return 'C';
else if (score >= 60)
return 'D';
else
return 'F';
}
}
After putting in the input (say you put int 90) the output doesn't display the grade it just displays ("your grade for the course is " without the letter grade I wanted it to post) any help is appreciated!
Yes, that was actually what I was going for throstur. Thank you. Can you explain what I was missing and in this program and what the functions are of the missing parts please? many thanks!