you can try going backwards to implicitly eliminate the bands:
1 2 3 4 5 6 7
if(score < 60)
F
elseif(score < 70) //because of the else, you know its >= 60 here.
D
...
else A (no condition, it is KNOWN at this point)
and you can rewrite the above as a switch/case (default is A, due to the KNOWN above)
the fastest possible is probably a lookup table. Fill a vector of 100 characters with 'F', then fill in the indices of 60-69 wth 'D', 70 to 79 with 'C', etc.
then the answer is just table[score].