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: egcs
Enter a department code and course number:
b Search for the specified course using the provided department and number egcs
c Print the course information in the following format:
Course department: deptcode deptname
Course number: coursenum
Course name: coursename
Scheduled days: coursesched
Course start: coursestart
Course end: courseend
Credit hours: coursehours
Enrolled Students: coursesize
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
