need help with counter and accumulators

This is a discussion on need help with counter and accumulators within the C++ Programming forums, part of the General Programming Boards category; This one is a review for a final exam which I will be taking in about 8 hours. Supposively, my ...

need help with counter and accumulators

This one is a review for a final exam which I will be taking in about 8 hours. Supposively, my instructor insist that if we can do this program we should be able to do the final. I'm big in trouble. I started the program but I'm stumped. I just started back attending my classes 2 1/2 weeks ago after being out for 8 weeks ( was put on bed rest by doctor due to complication with pregnancy). Should've withdrew from my classes, but I didn't so now I'm trying to catchup on what I missed in four classes and attempt to take the finals. The only thing that my program does is displays the number of all grades entered including valid and non valid. I need it to display total number of grades included in the average; the average grade; and total number of A’s, B’s, C’s, D’s, and F’s. Right now it displays the average but the average includes grades of 0 which it shouldn't.
Would someone please advise me on what to do. I really want to know how to count the number of letter grades. I missed so much of class and am very lost, tired, and stressed out. I hope I don't go into early labor over this class. I've included a copy of the program description and the code that I have so far.

PROGRAM DESCRIPTION

You task is to write an interactive program that determines a student’s letter grade from the numeric grade (an integer), computes the average of all valid grades entered, and displays statistics about the grades entered.

SPECIFIC DIRECTIONS

Ask the user for one numeric grade at a time, and display the appropriate letter grade. You must use a separate function to request and input the grade, then return the grade to main.

The numeric ranges for grades are as follows:

91 – 100: A
81 – 90: B
71 – 80: C
65 – 70: D
Below 65: F

Use another function to test the numeric grade and return the letter equivalent to main .

You need to determine the average of all valid grades entered: any nonzero grade is valid, but any grades of zero should not be included in the average, since this means the student didn’t even take the test (you get 2 points for writing your name!). So, you don’t want to lower the average by including grades of Ø. When the user wants to quit, display the following: total number of all grades entered, including valid grades and grades of Ø; total number of grades included in the average; the average grade; and total number of A’s, B’s, C’s, D’s, and F’s.