Question: R: read an existing course s information ( a ) Prompt the user for a course department and course number: ( e . g .

R: read an existing courses information
(a) Prompt the user for a course department and course number: (e.g.,cs 3423)
Enter a department code and course number:
(b) Search for the specified course using the provided department and number (e.g.,cs
3423).
(c) Print the course information in the following format:
Course department: dept_code dept_name
Course number: course_num
Course name: course_name
Scheduled days: course_sched
Course start: course_start
Course end: course_end
Credit hours: course_hours
Enrolled Students: course_size
(d) If the course is not found, print the following error instead and continue with the script.
ERROR: course not found

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 Programming Questions!