O Search (Alt+Q) View Help safer to stay in Protected View. you use with Office so we can verify your subscription. Problem 1. Volume Discounts Enable Editing Sign In Geekware Software Company's biggest seller software package sells for $149 each. Quantity discounts are given according to the following table: Quantity 10-49 50-99 100-149 150 or more Discount 10% 20% 30% 40% Write a program that asks the user to enter the number of packages purchased. The program should then display the dollar amount of the discount (if any) and the total amount of the purchase after discount. Design. You will be using a flow chart to design your program. You can use this free tool: draw.io to make your flow chart. Once you have opened the application:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

I have no idea how to write the program to solve the problem? see attachment.

Search (Alt+Q)
View Help
safer to stay in Protected View.
you use with Office so we can verify your subscription.
Problem 1. Volume Discounts
Enable Editing
Q
Geekware Software Company's biggest seller software package sells for $149 each. Quantity
discounts are given according to the following table:
Quantity
10-49
50-99
100-149
150 or more
Sign In
Discount
10%
20%
30%
40%
Write a program that asks the user to enter the number of packages purchased. The program
should then display the dollar amount of the discount (if any) and the total amount of the purchase
after discount.
X
A Cory
Design. You will be using a flow chart to design your program. You can use this free tool: draw.io to
make your flow chart. Once you have opened the application:
1. Select: Create New Diagram
2.
Select: Flowcharts >> Press Create
3.
Using the shapes and lines at the left, create a flowchart for your program logic.
4. To Rename File: File >> Rename >> yourlastname_lab3
5. To Save as pdf: Export as >> pdf
6.
If for some reason this doesn't work, you can do File>>Save As and save it as an .XML file.
You may also use Powerpoint to draw your flowchart if you prefer.
See Section 3.4 for information and examples of nested decision structures and multiple nested
decision structures.
Code. Write your program in Python using the above steps. Save your program as a .py file with the
name yourlastname_Lab3.py
Output. Your program should produce correctly labeled output with dollar amounts rounded to 2
decimal places and dollar signs displayed. See section 2.8 More About Output. Sample dialog:
Focus
88°F
Transcribed Image Text:Search (Alt+Q) View Help safer to stay in Protected View. you use with Office so we can verify your subscription. Problem 1. Volume Discounts Enable Editing Q Geekware Software Company's biggest seller software package sells for $149 each. Quantity discounts are given according to the following table: Quantity 10-49 50-99 100-149 150 or more Sign In Discount 10% 20% 30% 40% Write a program that asks the user to enter the number of packages purchased. The program should then display the dollar amount of the discount (if any) and the total amount of the purchase after discount. X A Cory Design. You will be using a flow chart to design your program. You can use this free tool: draw.io to make your flow chart. Once you have opened the application: 1. Select: Create New Diagram 2. Select: Flowcharts >> Press Create 3. Using the shapes and lines at the left, create a flowchart for your program logic. 4. To Rename File: File >> Rename >> yourlastname_lab3 5. To Save as pdf: Export as >> pdf 6. If for some reason this doesn't work, you can do File>>Save As and save it as an .XML file. You may also use Powerpoint to draw your flowchart if you prefer. See Section 3.4 for information and examples of nested decision structures and multiple nested decision structures. Code. Write your program in Python using the above steps. Save your program as a .py file with the name yourlastname_Lab3.py Output. Your program should produce correctly labeled output with dollar amounts rounded to 2 decimal places and dollar signs displayed. See section 2.8 More About Output. Sample dialog: Focus 88°F
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education