Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started