Hi, I'm very new at programming and I'm trying to get this to work. I want to make a program that figures out the average grade of tests for a marking period. The user inputs the number of tests and then for each one, he is prompted to input the grade and the program does the adding and dividing after the grades are input. I realize that this isn't practical at all. I am simply using it as a vehicle to improve my very limited skills. Here is what I have so far. . .
As you can see, It isn't much but I consider it an accomplishment to get this far. I don't understand now, how to take those numbers and get the program to ask for a new grade and then to store and add them. An explanation of what to do next would be greatly appreciated.Code:
int main ()
cout<<"Enter number of grades: ";
for (a=1;1<=a && a<=b;a++)