GPA average calculator

hi, i'm a newbie in programing... my teacher asks me to create a student GPA average calculator. i just can't figure out how...the problem he gave me is this: Create a student GPA average calculator.The program should prompt the user to enter up to 30 GPA's which are stored in a single-dimensional array. Each time he or she enters a GPA, the user should have the option to calculate the current GPA average or enter another GPA.
Make a vector of floats.
Create a single-dimensional array as follows:

1
2
3
const double NUM_GPAS = 30;
double gpa[NUM_GPAS};          // Holds GPAs for up to 30 students
int count;                                  // Loop counter 


That should get you started.
Last edited on
Topic archived. No new replies allowed.