Computers and Technology
Computers and Technology, 02.03.2020 23:28, vpmtennis

In c++

Consider the following definition of the class studentType:

public studentType: public personType
{
public:
void print();
void calculateGPA();
void setID(long id);
void setCourses(const string c[], int noOfC);
void setGrades(const char cG[], int noOfC);

void getID();
void getCourses(string c[], int noOfC);
void getGrades(char cG[], int noOfC);
void studentType(string fName = "", string lastName = "",
long id, string c[] = NULL, char cG[] = NULL, int noOfC = 0);

private:
long studentId;
string courses[6];
char coursesGrade[6]
int noOfCourses;
)

Rewrite the definition of the class studentType so that the functions print and calculateGPA are pure virtual functions.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 23:00, minosmora01
How do you know if the website is secure if you make a purchase
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, Timeisjesus
Answer these and get 40 points and brainliest
Answers: 1
image
Computers and Technology, 25.06.2019 02:00, doug26
What type of multimedia is a game cd? game cds are examples of multimedia
Answers: 1
image
Computers and Technology, 25.06.2019 10:30, hardyfombu
Which of the following is an example of a boolean condition that python could recognize? a: grade + 70 b: grade > = 70 c: "you should aim for at least a 70." d: "you have a 70."
Answers: 1
Do you know the correct answer?
In c++

Consider the following definition of the class studentType:

public st...

Questions in other subjects: