Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C Programming help requested.

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.

Name: Anonymous 2012-04-18 13:39

Welp, this pretty much convinces me that you guys either can't read or are far too pretentious to realize that it's clearly not the simple stuff I have a problem with.

TO REITERATE, I'm having a bit of a tough time seeing what I'm to do when I need to use other functions, since the thing could be easily done in just main.


I'm just used to one function, and as a result, thinking in a way that uses other functions is a bit weird to me and hence why I am asking for assistance.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List