|
-
Jun 26th, 2000, 04:54 AM
#1
Thread Starter
Hyperactive Member
shorter code
although my program is pretty simple it might be hard for me to explain it ...
my program's only purpose in life is to get me my final average of the whole year of any class ... this was pretty simple at first because my school used # grades n all i had to do was plug in those #'s into a formula ...
however, for some reason my school changed to the letter grade system ... i know that i can easily type the # i think would be closest to the letter grade n not worry about making a whole new program ...
however, i just want to use the combo-box n select the letter grade that i get ... now the letter grades go from a+, a, a-, b+, b, b-, c+, c, c-, d, f, f- ...
now for me to get my final grade i have to add my 4 marking period grades n multiply them by 2 n add that to the sum of my midterm n final exam n divide the whole thing by 10 ...
however, its going to be a hassle just to get the value of one marking period grade cause i'm gonna have to check what letter is in the combo-box (which r 12 letters which means i'm gonna have to check which letter it is until it is the right one) n then turn it into a # value ...
now that's a lot of coding just to find one marking period grade by using letters ... n don't forget that after i find that one i have to find the other 5 grades (2,3,4 marking period n midterm n final) ...
so does anyone know of a way that i can cut this coding down to size ... or else i'll be spending a lot of time coding ... any help is appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|