Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that accepts an ACT score as input and uses a decision structure to choose the appropriate math course. Students should be placed

Write a program that accepts an ACT score as input and uses a decision structure to choose the appropriate math course. Students should be placed in the highest course number possible. The highest ACT score possible is 36.

Freshmen interested in computer science are placed into math courses depending on their ACT scores:

  • MA 100 16 or above
  • MA 112 22 or above
  • MA 113 25 or above
  • MA 125 28 or above
  • MA 100E has no prerequisites.

Design your solution first using a flowchart.

If the end-user enters character input instead of numeric, display the appropriate message (see the example below).

Example output:

C:\Users\jcrab\Desktop>py math_act.py Enter your ACT math score: 27 Register for MA 113 C:\Users\jcrab\Desktop>py math_act.py Enter your ACT math score: 88 Invalid score. C:\Users\jcrab\Desktop>py math_act.py Enter your ACT math score: yes You must enter a number.

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_2

Step: 3

blur-text-image_3

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

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions

Question

q , determines the quality of an audio file.

Answered: 1 week ago