This is the question:
Write C++ Console Application to calculate and display the average CGPA of 10 students with the following requirements.
Your program must use Class for student which have the following variables/attributes
Your program should get information of 10 students Name,MatrixNo,Cgpa) from User and store it in Arrayof object of type Student (from item 1).
Then, your program must calculate and display the average CGPA from the Array(from item 2).
this is my answer :
using namespace std;
/* Function Declarations */
void calcAverage(ifstream &, int , int, double &);
void calclasseAverage(ifstream &, int ,double &,double &);