Question: Write a program in python to check the inputs of student major and course (input a major name and a course name). Valid majors and
Write a program in python to check the inputs of student major and course (input a major name and a course name). Valid majors and courses are as follows. No functions, no loop, no list, no string.
MIS, then courses: MISC371, MISC373, MISC485
Management, then courses: MGMT326, MGMT490
Accounting, then courses: ACCT351, ACCT356, ACCT451, ACCT454
Output the major name and the course name if inputs are correct, otherwise give error message.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
