Question: Structure of the program and user interactions You should create the following two classes and main.cpp to implement this program 1. Student Student class should
Structure of the program and user interactions You should create the following two classes and main.cpp to implement this program 1. Student Student class should have the following methods with the exact prototype .bool login(string username, string password): . string getStudentName(): int getProject Grade(): int getQuizGrade(): int getMidterm Grade(): int getFinalGrade(): double getOverallGrade(); You should add necessary member variables including the following . string fullName int project Grade int quizGrade: . int midtermGrade: int finalGrade: Above functions must be present in the class. You can add additional functions if you wish such as the following void setStudentName(string fullName): void setProject Grade(int grade): void setQuizGrade(int grade): void set MidtermGrade(int grade): void setFinal Grade(int grade): 2. Instructor Instructor class should have the following methods with the exact prototype. bool login(string username, string password): string getinstructorName(); Student getStudent string username): . Student getMinStudentint gradeType): Student getMaxStudentint grade Type): . double getAvgint grade Type) Note: gradeType variable in the above methods should be recognized from the following integers. project: 1 . qu: 2 midterm: 3 final: 4 overall: 5 You should add necessary member variables that includes the following: string fullName: Above functions must be present in the class. You can add additional functions if you wish such as void setinstructorName(string fullName): Structure of the program and user interactions You should create the following two classes and main.cpp to implement this program 1. Student Student class should have the following methods with the exact prototype .bool login(string username, string password): . string getStudentName(): int getProject Grade(): int getQuizGrade(): int getMidterm Grade(): int getFinalGrade(): double getOverallGrade(); You should add necessary member variables including the following . string fullName int project Grade int quizGrade: . int midtermGrade: int finalGrade: Above functions must be present in the class. You can add additional functions if you wish such as the following void setStudentName(string fullName): void setProject Grade(int grade): void setQuizGrade(int grade): void set MidtermGrade(int grade): void setFinal Grade(int grade): 2. Instructor Instructor class should have the following methods with the exact prototype. bool login(string username, string password): string getinstructorName(); Student getStudent string username): . Student getMinStudentint gradeType): Student getMaxStudentint grade Type): . double getAvgint grade Type) Note: gradeType variable in the above methods should be recognized from the following integers. project: 1 . qu: 2 midterm: 3 final: 4 overall: 5 You should add necessary member variables that includes the following: string fullName: Above functions must be present in the class. You can add additional functions if you wish such as void setinstructorName(string fullName)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
