why does this code print 0.0 for the value and "F" as the letter grade?

Printable View