If I missed 24 problems out of 40, what is my grade?
well, you got 16/40 = 40%
Don't know how that translates to a grade. Most likely not an A.
divide the numbers to get your percentage but divide 24 by 40