Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the problem below I need to know how to propelly use the if and elif funtion in python: The following shows a training company

In the problem below I need to know how to propelly use the if and elif funtion in python:
The following shows a training companys workshops, the number of days of each, and their
registration fees.
Workshop # of Days Registration
Fee
Handling Stress 3 $ 1,000
Time Management 2 $ 800
Supervision Skills 3 $ 1,200
Negotiation 6 $ 1,500
Interview Skills 1 $ 300
The training company conducts its workplace in the six locations shown in the following table.
The table also shows the lodging fees per day at each location.
Location Lodging Fees
per Day
Austin $ 151
Chicago $ 225
Dallas $ 179
Orlando $ 322
Phoenix $ 175
Raleigh $ 165
When a customer registers for a workshop, he or she must pay the registration fee plus the
lodging fees for the selected location. For example, here are the charges to attend the
Supervision Skills workshop in Orlando.
Registration: $1,200
Lodging: $322*3 days = $966
Total: $2,166
Create an application that lets the user input a workshop and location from the lists. The
application should display the workshop and lodging prices, calculate and display the
registration cost, the lodging cost, and the total cost of attending the workshop.

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago