subject

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. Implement the above system taking into account the following requirements: Define array of 4 Courses with instantiating all its properties.[5 points] 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] 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] 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] 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] 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 Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print.
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
Answers: 2
You know the right answer?
Consider that a system has two entities, Students, Instructors and Course. The Student has the follo...
Questions
question
Health, 16.12.2020 22:10
question
Chemistry, 16.12.2020 22:10
question
Mathematics, 16.12.2020 22:10
question
Mathematics, 16.12.2020 22:10
question
Computers and Technology, 16.12.2020 22:10
question
Mathematics, 16.12.2020 22:10
question
English, 16.12.2020 22:10
Questions on the website: 13722362