How should my flow chart look for this code?
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
How should my flow chart look for this code?
![Morris_lab3.py - C:/Users/CoryM_h7vhvbi/AppData/Local/Programs/Python/Python310/Morris_lab3.py (3.10.
File Edit Format Run Options Window Help
#Program Name: Lab 2
# Date written: 9/07/2022
# Created to fulfill requirments for COSC 1336, Sec. 014, Fall 2022
de and long, ban, ng
#Programe Summary: Enter number of packages purchased, get the Total Amou
#----
Data Dictionary
# Name: Enter number of packages purchased
Author: Cory Morris.
Location: c:\python\
number packages-int (input ("enter the number of packages purchased:
packages price 149;
total amount number packages *packages_price
if number_packages<=49:
discount-10
discount amount-(total amount*discount)/100
number packages>=50 and number_packages<=99:
discount-20
discount amount= (total amount discount)/100
number packages>=100 and number packages<=150:
discount-30
discount amount-(total amount discount) /100
number packages>=-50:
discount-40
discount amount=(total amount discount)/100
prinet 11:
Type here to search
String: Message String
count amount, 211)
at((tota__amount-discount amount), 2£'))](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5d570369-f021-4a4c-bd42-feb213820226%2F3714f1d0-fc7e-426b-9493-f224a3268543%2Fpfzcbyh_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Morris_lab3.py - C:/Users/CoryM_h7vhvbi/AppData/Local/Programs/Python/Python310/Morris_lab3.py (3.10.
File Edit Format Run Options Window Help
#Program Name: Lab 2
# Date written: 9/07/2022
# Created to fulfill requirments for COSC 1336, Sec. 014, Fall 2022
de and long, ban, ng
#Programe Summary: Enter number of packages purchased, get the Total Amou
#----
Data Dictionary
# Name: Enter number of packages purchased
Author: Cory Morris.
Location: c:\python\
number packages-int (input ("enter the number of packages purchased:
packages price 149;
total amount number packages *packages_price
if number_packages<=49:
discount-10
discount amount-(total amount*discount)/100
number packages>=50 and number_packages<=99:
discount-20
discount amount= (total amount discount)/100
number packages>=100 and number packages<=150:
discount-30
discount amount-(total amount discount) /100
number packages>=-50:
discount-40
discount amount=(total amount discount)/100
prinet 11:
Type here to search
String: Message String
count amount, 211)
at((tota__amount-discount amount), 2£'))
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
Step 1
A flowchart is a diagram that shows how a system, computer algorithm, or process works.
- They are frequently used in many different disciplines to examine, organize, enhance, and convey frequently complicated processes in simple, understandable diagrams.
- Rectangles, ovals, diamonds, and perhaps many more shapes are used in flowcharts, also known as flow charts, to indicate the kind of step, and connecting arrows to indicate flow and sequence.
- They might be anything from straightforward hand-drawn charts to detailed computer-drawn diagrams showing several processes and pathways.
- Considering all the different variations, flowcharts are among the most widely used diagrams in the world, being utilized by both technical and non-technical persons in a wide range of industries.
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