That's cuz you didn't grab the return value from calculateGrade().
>>calculateGrade(int score);
float calculateGrade(int score);
>>calculateGrade(int score){
float calculateGrade(int score){
>> calculateGrade(courseScore);
grade = calculateGrade(courseScore);
btw, is everyone here taking the same classes? Or are all professors just assigning the same homework assignments
EDIT - I will always be one step of you Prelude! (pumps fist in air) Hehe jk, your way was better though. I didn't look at his calculateGrade function. Seen one too many today.