Answered step by step
Verified Expert Solution
Question
1 Approved Answer
pl.h X VI PROJECT NUMBER: pl //EE259 SECTION (DAY/EVE): DAY AND NIGHT include /mnt/ee259dir/tools/pro_0/sample_po.h V/#include po.h ing namespace std; class Pl_GRADES: public PO GRADES{ Lic:
pl.h X VI PROJECT NUMBER: pl //EE259 SECTION (DAY/EVE): DAY AND NIGHT include "/mnt/ee259dir/tools/pro_0/sample_po.h" V/#include "po.h" ing namespace std; class Pl_GRADES: public PO GRADES{ Lic: // public methods for this class P1_GRADES (int, int); // constructor; // example usage: B.P1_GRADES (W, z); // create an object called B with w students each with z void P1 LIST(int); // a method; example usage: B.P1_LIST(); list the grades for a given exam; // if q is e, list the ids (use inheritance); // if q is 1, list the ids and grades for all exams; // returns no values; int P1 FIND(int, int); // another method; // example usage: B.P1 FIND (r, s); Il list the grades of student with id r and pin s; // if student exists, return its index; // if no such student, give list of all students; return // if r and/or s are illegal, return -2; // rules: 0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started