Help me please

can to help me in this question because I am a beginner in c + + and kept be grateful to you

Write C++ Console Application to calculate and display the average CGPA of 10 students with the following requirements.
1.Your program must use Class for student which have the following variables/attributes
1.Name
2.MatrixNo
3.Cgpa.
2.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).
3.Then, your program must calculate and display the average CGPA from the Array(from item 2).

If you got this assignment from a school/teacher, i'm assuming you already know about classes, and the required methods to make this program.

Start by making the class 'student'.
PLease choose your title wisely. It has to be significant. And post in the right forum. Addionally you can not prompt anyone to code for you. You have to code yourself. The forums will only help you to fix problems, so please start yourself.

I would recommend you to choose a class like this:

1
2
3
4
5
6
7
8
9
10
11
12

class student 
{
public:
    string Name;
    int MatrixNo;
    int Cgpa;
};

student one;
one.Cgpa = 1;


I do not get the "Array" part (2.) due to the grammar.
Is this a task for school?!

Lukas
Topic archived. No new replies allowed.