Design a program for group orders

Assignment Help Python Programming
Reference no: EM132368907

Question

Admission to an aquarium is $14 per person. There is also an IMAX theatre in the building, which charges $8 per ticket for a 3D shark show.

Customers have three choices: admission to the aquarium only without watching 3D show, watch 3D show only with no admission to the aquarium, or do both with a 25% discount.

Design a program for group orders.

Ask the group to enter number of people who want admission only but no 3D show, number of people who want 3D show only but no admission to the aquarium, and number of people who want both.

Calculate and display the total amount due from the group. Submit the algorithm for credit.

Step 1: Input total people aquarium only

Step 2: input total people IMAX theater only

Step 3: Input people who want to do both

Step 4:

Calculate total amount = Aquarium#(14) + IMAX#(8) + Both#*((14+8)*.75)

Step 5: Display amount

Reference no: EM132368907

Questions Cloud

Why did you select phd in information technology : Why did you select PhD in Information Technology?Why did you select University of Cumberlands?What are your research interests in area of Information Technology
What is the change in their consumer surplus : Now how many spaces do the faculty demand? What is the change in their consumer surplus?
Significant portion of mexico avocado production : Suppose that there is a hurricane that wipes out a significant portion of Mexico's avocado production. As a result, the price of avocado toast in San Francisco
Practical manner to your current work environment : how the knowledge, skills, or theories of this course have been applied, or could be applied, in a practical manner to your current work environment.
Design a program for group orders : Ask the group to enter number of people who want admission only but no 3D show, number of people who want 3D show only but no admission.
Potential drawbacks of creating separate products : What are two potential drawbacks of creating separate products and marketing programs for each generation?
Fundamental differences between consumer markets : What are the fundamental differences between consumer markets, business markets, and reseller markets?
What steps can companies take to protect trade secrets : What policies could be put in place to ensure employees adhere to safe guidelines regarding the use of confidential company data?
Describe ways you will invest in your future : Describe (3) ways you will invest in your future based on the principles of finance discussed in this course. Include terminology from the course and use.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd