Question: Assignment 6 Write the solution in a Notepad or Word file and upload it. Department(department_id, name, no_of_courses); Student(std_id, name, cpga, gender, department_id, course_id) Course(course_id, name,

Assignment 6

Write the solution in a Notepad or Word file and upload it.

Department(department_id, name, no_of_courses);

Student(std_id, name, cpga, gender, department_id, course_id)

Course(course_id, name, credits)

Write a function to print the name of the highest 15 courses based on credits.

- Next to each course name print as many * as the credits value. Assume credits is an integer number.

Example : if the course name is ITEC224 and credits is 4, the output of the program will be

ITEC224 ****

- Return the total number of courses printed if there is no problem.

- In case of any error return the oracle error code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!