First off yes this is for school. I am using a basic program I already have that takes 5 numbers and averages them. I am trying to design a basic program that asks for name (easy), number of grades to calculate, then I input the grades in letter format; a, b, c, d, f. I am having two big problems. I can not seem to figure out how to control the number of grades that pop up. I am starting to get pretty confused as I am unfortunently not the best programmer.
The second problem is I am quite lost on how to convert the letter grade to the corresponding number (4,3,2 etc). I am pretty sure it involves a switch statement... past that, I don't know how to use them well.
Code so far (haven't touched the 2nd half, first I am just trying to control how many grade inputs pop up). Can't get it to paste, so I attached it. Any suggestions on a better direction?