In my function find_lettergrade I need to determine a grade based off of the score entered. I also need to determing a sign. if the grade is the an 79,89, or 99 the grade should be C+ B+ and A+ respectively. I can get my program to determine a grade, the issue is that I am trying to determine the sign based off of the second character in the score (if it is a nine make sign a plus). The problem is I dont think I can do the whole score.at thing with and integer value of score. I tried changing it to string, but then I cant find the letter grade. Any suggestions?
Essentialy I am just trying to use the .at function (or whatever it is called) with an integer value. Is this only possible for strings? Is there a workaround?