Create a design for a program that prompts Jason to enter the number of items ordered and the price of each item. The program then outputs the total billing amount. Your design must include a repetition structure (loop) to get the price of each item. Fill in the attached design template
Create a design for a program that prompts Jason to enter the number of items ordered and the price of each item. The program then outputs the total billing amount. Your design must include a repetition structure (loop) to get the price of each item. Fill in the attached design template
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
Related questions
Question
Create a design for a program that prompts Jason to enter the number of items ordered and the price of each item. The program then outputs the total billing amount. Your design must include a repetition structure (loop) to get the price of each item. Fill in the attached design template
![New Tab
E Untitled document - Go X
b My Questions | bartleby x
Algorithm Design Probl x
Design Project
s.google.com/document/d/1HhgldMaQbNgrPAbDxIUG7GKneuN-0oUMyVugzZANzqJY/edit
ocument * O
Last edit was seconds ago
View Insert Format Tools Add-ons Help
Times New.
BIUA
100% -
Normal text
12
+
1
4
5 I 6
Algorithm Design Problem
Problem Statement
Jason typically uses the Internet to buy various items. If the total cost of the items ordered, at
one time, is less than $200 then the shipping and handling is free; otherwise, the shipping and
handling is $10 per item. Design an algorithm that prompts Jason to enter the number of
items ordered and the price of each item. The algorithm then out-puts the total billing amount.
Your algorithm must use a loop (repetition structure) to get the price of each item. (For
simplicity, you may assume that Jason orders no more than five items at a time.)
Program Input
User:
Program Supplied:
M](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F97b5df25-1667-438a-b46e-c2a0d1ae7c86%2F712a602b-d00e-4645-a8c1-18f74ec94ac7%2F9v62byk_processed.jpeg&w=3840&q=75)
Transcribed Image Text:New Tab
E Untitled document - Go X
b My Questions | bartleby x
Algorithm Design Probl x
Design Project
s.google.com/document/d/1HhgldMaQbNgrPAbDxIUG7GKneuN-0oUMyVugzZANzqJY/edit
ocument * O
Last edit was seconds ago
View Insert Format Tools Add-ons Help
Times New.
BIUA
100% -
Normal text
12
+
1
4
5 I 6
Algorithm Design Problem
Problem Statement
Jason typically uses the Internet to buy various items. If the total cost of the items ordered, at
one time, is less than $200 then the shipping and handling is free; otherwise, the shipping and
handling is $10 per item. Design an algorithm that prompts Jason to enter the number of
items ordered and the price of each item. The algorithm then out-puts the total billing amount.
Your algorithm must use a loop (repetition structure) to get the price of each item. (For
simplicity, you may assume that Jason orders no more than five items at a time.)
Program Input
User:
Program Supplied:
M
![New Tab
E Untitled document - Go X
b My Questions | bartleby x
Algorithm Design Probl x
Design Project
Es.google.com/document/d/1HhgldMaQbNgrPAbDxIUG7GKneuN-0oUMyVugzZANzqJY/edit
document D O
Last edit was seconds ago
View Insert Format Tools Add-ons Help
1E E E -
12
BIUA
100%
Normal text
Times New.
1
2
4 5
Program Output
Algorithm
Pseudocode
Test Data
Desk Check
Statement
Var 1
Var 2
Var 3
Var 4
(replace varl, var2, var3, var4 with your variable names, add more columns if needed, add
another table if there is more than one test case)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F97b5df25-1667-438a-b46e-c2a0d1ae7c86%2F712a602b-d00e-4645-a8c1-18f74ec94ac7%2Fwlkj3m_processed.jpeg&w=3840&q=75)
Transcribed Image Text:New Tab
E Untitled document - Go X
b My Questions | bartleby x
Algorithm Design Probl x
Design Project
Es.google.com/document/d/1HhgldMaQbNgrPAbDxIUG7GKneuN-0oUMyVugzZANzqJY/edit
document D O
Last edit was seconds ago
View Insert Format Tools Add-ons Help
1E E E -
12
BIUA
100%
Normal text
Times New.
1
2
4 5
Program Output
Algorithm
Pseudocode
Test Data
Desk Check
Statement
Var 1
Var 2
Var 3
Var 4
(replace varl, var2, var3, var4 with your variable names, add more columns if needed, add
another table if there is more than one test case)
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education