Why doesn't it compile? What's the compiler saying?
Two reasons it won't work:
1. You don't keep the return of convertScoreToGrade() to a char variable.
2. You don't print out the returned value of convertScoreToGrade()
yeah, the most important thing when asking for help is to post the compiler errors.