Question
1. In The Spotlight- Using the if-else Statement Program 3-2 auto_repair_payroll(Page 119-120) 2. In the Spotlight- The Hit the Target Game Program 3-9 (Page 143-148)
1. In The Spotlight- Using the if-else Statement Program 3-2 auto_repair_payroll(Page 119-120)
2. In the Spotlight- The Hit the Target Game Program 3-9 (Page 143-148) Programming Problems: For the programming Problems: You must also submit an IPO for each programming exercise along with the .py files. The System Development LifeCycle and Creating an IPO Video in this module describes the process. Write a program for each of the following:
3. Contoso Workshops Contoso provides training workshops for customers. The table below shows the workshops, The following table shows Contosos workshops, the number of days of each, and their registration fees. Workshop Number of Days Registration Fee Handling Stress 3 $2,000 Time Management 3 $800 Supervision Skills 3 $1,500 How to Interview 1 $500 The training company holds its workshops in the four locations shown in the table below. The table also shows the lodging fees per day for each location.
Location Lodging Fees per Day
Austin $150
Chicago $225
Phoenix $175
Orlando $300
Create a program that takes as input the number associated with the workshop choice and the number associated with the location choice. The program will calculate and display the registration fee, lodging cost, and Total for the selected workshop and location. For example, here are the charges to attend the Supervision Skills workshop in Orlando:
Registration:$1,500
Lodging:$3003days=$900
Total: $2,400
Click on the WorkshopMenu .py file. This will open a new window. At the top of the new window click on the DownloadWorkshopMenu.py link to download. This file contains a menu for the program. You will use this file to add the python code to complete the program. WorkshopMenu.pyDownload WorkshopMenu.py
4. Contoso's Widgets A widget company sells a widget for $95. Customers are given a discount based on the number of widgets they purchase. Discounts are given according to the following table:
Quantity Discount
1019 10%
2049 20%
5099 30%
100 or more 40%
Write a program that calculates and displays the discount amount and total purchase amount (after discount). The program will get as input the number of widgets purchased.
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