Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Python 3.1.1 You will be creating a registration system in which a student can choose from a menu of classes. They can add as

Using Python 3.1.1 You will be creating a registration system in which a student can choose from a menu of classes. They can add as many classes as they want. In the end you will display a summary of the selected courses and the total number of credit hours. Next semester a student can choose from CIS170 (Java), CIS131 (WebDev II), CIS250 (Database), MTH110 (College Algebra) or ACC210 (Accounting). All classes are 3 credit hours with the exception of Math which is 4. Fill an array or arrays with the course description and the courses credit hours You are creating the registration for the students. After getting the students name, loop through the array of classes to present a menu list of what class they would like to add to their registration. Once the student makes a selection, add their selection to a registration array which holds their course choices. Continue to ask them which course to add until they indicate they would not like to add any more courses. For simplicity sake of this exam, you do not have to account for the student mistakenly entering in the same course twice. Once they have indicated they are finished, display back each course they have added. Be sure to include the total credit hours they have registered for as part of the registration summary. Your code should demonstrate the use of: Arrays (parallel or multi-dimensional), Modules (keep it simple, at minimum a main() and a registration() module should be present), Looping Structure (while and/or for), and Decision structure (If).

SAMPLE OUTPUT:

Welcome to registration!

1 - ACC210

2 - CIS130

3 - CIS150

4 - CIS230

5 - MTH110

Which course do you want to add your schedule? 1

Do you want to add another course? y

1 - ACC210

2 - CIS130

3 - CIS150

4 - CIS230

5 - MTH110

Which course do you want to add to your schedule? 2

Do you want to add another course? n

1 - ACC210 - 3

2 - CIS130 - 3

Your total credit hours are: 6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mysql Examples Explanations Explain Examples

Authors: Harry Baker ,Ray Yao

1st Edition

B0CQK9RN2J, 979-8872176237

More Books

Students also viewed these Databases questions