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
icon
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£'))
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
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.
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
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