subject
English, 24.05.2020 16:57 Yoma321

Consider that a system has two entities, Students, Instructors and Course. The Student has the following properties: student name, ID, and GPA. The instructor has the following properties: name, ID, Salary and department name. Finally the Course has Name, ID , Instructor and array of 3 students.
c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++ c++

Implement the above system taking into account the following requirements:

1- Define array of 4 Courses with instantiating all its properties.[5 points]

2-Assume that instructor1 and instructor2 are two objects of type Instructor, write a code that enables you to write: if (instructor1.isequal (instructor2)). The statement is true if the two objects have the same name and ID. [3 points]

3-Define a function with the following signature void PrintCSalary(Course []), The function prints the index and the name of the course that has Instructor with Max Salary. [3 points]

4-Define a function with the following signature void PrintMaxGPA(Course []), The function prints the index and the name of the course that has Max average of its Students GPA.[3 points]

5-Define a function that has the following signature Instructor * getInstByID(Course [], int id). The function returns a pointer to one of the instructors in the array of courses, who has the same id (sent to the function).[3 points]

6-Write a getCourseList(int ID) function that returns a list of courses that the student registered in.[3 points]

ansver
Answers: 2

Another question on English

question
English, 21.06.2019 16:30
Based on context, the word “insoluble”most likely means?
Answers: 2
question
English, 21.06.2019 20:10
57: 48 read this excerpt from "sea fever" by john masefield. which statement best describes how masefield creates a hopeful mood in the excerpt? and the wheel's kick and the wind's song and the white sail's shaking, and a grey mist on the sea's face, and a grey dawn breaking the free form flows cheerfully and unpredictably. the free form creates a sentimental conversation between man and sea. the fixed meter and predictable rhyme scheme create an upbeat rhythm the fixed meter imitates the rhythm of a military march or parade. mark this and retum save and exit next submit
Answers: 3
question
English, 21.06.2019 20:20
What evidence could be used to support the authors'claims in this excerpt? select three options.- tweets (twitter messages) describing the overthrow ofben ali at the time it happened- verifiable facts that explain that social media haslittle effect on citizen journalism-speeches that give biographical accounts of the life andaccomplishments of mubarak-journal entries from a student describing how socialmedia him join a protest- quotations from experts on social media use duringuprisings within the arab world
Answers: 1
question
English, 21.06.2019 22:00
Read this excerpt from the lady of shalott by alfred, lord tennyson. in which three lines does the poet reveal the monotomy of the lady’s existence
Answers: 1
You know the right answer?
Consider that a system has two entities, Students, Instructors and Course. The Student has the follo...
Questions
question
Mathematics, 28.06.2019 19:00
question
Mathematics, 28.06.2019 19:00
question
Geography, 28.06.2019 19:00
Questions on the website: 13722359