No, not really cuz I think that would be too personal for the president.
Answer:
class studentType: public personType
{
public:
virtual void print() = 0;
virtual void calculateGPA() = 0;
void setID(long id) {
studentId = id;
}
void setCourses(const string c[], int noOfC) {
noOfCourses = noOfC;
for (int i=0; i<noOfCourses; i++) {
courses[i] = c[i];
}
}
void setGrades(const char cG[], int noOfC) {
noOfCourses = noOfC;
for (int i=0; i<noOfCourses; i++) {
coursesGrade[i] = cG[i];
}
}
long getID() {
return studentId;
}
string* getCourses() {
return courses;
}
char* getGrades() {
return coursesGrade;
}
studentType(string fName = "", string lastName = "",
long id = 0, string c[] = NULL, char cG[] = NULL, int noOfC = 0);
private:
long studentId;
string courses[6];
char coursesGrade[6];
int noOfCourses;
};
Explanation:
Code rewritten
Answer:
Alt + Ctrl + F to insert a footnote.
Alt + Ctrl + D to insert an endnote.
Correct me, if I am wrong :)
Have a great day!
Thanks!
Hoi!
I would say DeviantArt, since that is the world's largest social website dedicated to displaying artwork.
Answer:
Page orientation is the direction in which a document is displayed or printed. The two basic types of page orientation are portrait (vertical) and landscape (horizontal). Most monitors have a landscape display, while most documents are printed in portrait mode.
Explanation: