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

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!