I want to make a program that is real basic, just so I can say I did something.
The program will calculate a GPA but I'm not sure what to do. I want it to take in letter grades of let's say what Jimbo got on his progress report. I want it to be able to have a major flexibility in numbers and I don't want to assign a gajillion variables for however many grades there are to input. So let's say there are 3 grades he wants to put in, A, C,B+, i want the program to know that A would mean 4.0, C would mean 2.0, and B+ to mean 3.33 then I want it to add them up and divide it by the total number of grades Jimbo had input in the first place.
Where i'm mostly stuck is how to let there be a million some amount of grades to input (without having to make a ton of floats) and how to assign a letter grade a number.
Any help will be much appreciated, thank you.
This post has been edited by eLliDKraM: 13 August 2005 - 05:56 PM

New Topic/Question
Reply



MultiQuote




|