Name: Anonymous 2012-04-18 0:36
Hello all, I'm tasked with writing a program for a class and I'm a bit stumped really on exactly HOW to go about it.
To open, language is C (though that will be obvious in a sec), and the program is supposed to calculate a couple of things.
Firstly, it is supposed to take into consideration 5 grades, and 2 tests.
After that, it is supposed to calculate for the test, which is optional.
So to sum up that part it is supposed to calculate the grades for the current average without AND with the test.
THEN, since that'd be far too easy and I wouldn't need help then, it is supposed to then calculate what grade would be necessary on the exam to raise the current average one letter grade.
I have a couple of ideas of what is needed, and I understand the requirements, but I'm still a bit stumped of what I need to do aside from that.
One other requirement is that I need to implement creating my own function, so I'll list what functions I think would be necessary to help.
1, getting the range, since I figure that would be able to check if the grades they enter are in the 0-100 range.
2, one to calculate all of the averages and such
3, one to determine the grade total
4, one to determine the letter grade
and 5, main. Any help would be much appreciated.
To open, language is C (though that will be obvious in a sec), and the program is supposed to calculate a couple of things.
Firstly, it is supposed to take into consideration 5 grades, and 2 tests.
After that, it is supposed to calculate for the test, which is optional.
So to sum up that part it is supposed to calculate the grades for the current average without AND with the test.
THEN, since that'd be far too easy and I wouldn't need help then, it is supposed to then calculate what grade would be necessary on the exam to raise the current average one letter grade.
I have a couple of ideas of what is needed, and I understand the requirements, but I'm still a bit stumped of what I need to do aside from that.
One other requirement is that I need to implement creating my own function, so I'll list what functions I think would be necessary to help.
1, getting the range, since I figure that would be able to check if the grades they enter are in the 0-100 range.
2, one to calculate all of the averages and such
3, one to determine the grade total
4, one to determine the letter grade
and 5, main. Any help would be much appreciated.