Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE ONLY REPLY IN PYTHON AND NEED AN IPO FOR QUESTION 3 AND 4 1. In the Spotlight: Passing an Argument to a Function Program

PLEASE ONLY REPLY IN PYTHON AND NEED AN IPO FOR QUESTION 3 AND 4

1. In the Spotlight: Passing an Argument to a Function Program 5-7 (p. 228-229)

2. In the Spotlight: Modularizing with Functions Program 5-23 (p. 255-258)**The book code does not include a call to main. You need to add main() after all your code. Make sure main() isn't indented. Programming Problems

For the programming problems: You must submit an IPO for each programming exercise along with the .py files. The System Development LifeCycle and Creating an IPO Video in Module2 describes the process.

3.Rose Theater Company For this assignment you will modify the Rose Theater Company assignment created in chapter 2. Rose Theater company sells tickets to their productions. There are three seating options for purchase at Rose's theater; Orchestra seats, Center Stage seats, and Outer Stage seats. Orchestra seats cost $75 each, Center Stage seats cost $50 each, and Outer Stage seats cost $25 each. The theater company also gives a discount of 5% on tickets to the local theater group members. The user will enter the number of Orchestra, Center State, and/or Outer stage seats the customer wants to purchase along with whether the customer is a member of the local theater group. The program will calculate and display the income from each type of seat sale along with the discount, and total sale.

Requirements

Must include use of named constants

Must include meaningful variable names

Must include a main function with a call to the main function.

Must include at least one value returning function

4. Contoso Workshops Modify the Contoso Workshops assignment from Chapter 3. The modified program 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. You will use three functions for this program. One function will display the Workshop and Lodging menus and return the menu choices for each, a second function will calculate and return the lodging cost, and a third function will calculate and return the Total Cost. The tables below show the workshops and lodging information. Be sure to define a main function.

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

Lodging

Location Lodging Fees per Day

Austin $150

Chicago $225

Phoenix $175

Orlando $300

For example, here are the charges to attend the Supervision Skills workshop in Orlando:

Registration:$1,500

Lodging:$3003 days=$900

Total: $2,400

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 Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

c. What groups were least represented? Why do you think this is so?

Answered: 1 week ago

Question

7. Describe phases of multicultural identity development.

Answered: 1 week ago