0% found this document useful (0 votes)
8 views5 pages

Organizational Chart Graph

Organizational Chart Graph for coding

Uploaded by

heskeytime69247
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views5 pages

Organizational Chart Graph

Organizational Chart Graph for coding

Uploaded by

heskeytime69247
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Decomposition

Online Delivery Fast


Food Ordering System

Starting the Program Menu Ordering and Adding Order Summary Others
a Meal

Print invalid
Print welcome Print message after Input variable for Display order
message for invalid
statement form completion meal size summary
inputs/choices

Print message to select


Input variable for Input decision to size for the selected Solve/Calculate total Restart process for
name order or cancel menu option amount for orders the given part

Input variable for If no, redisplay the Input decision for Input payment
delivery address starting program any add-ons amount

If yes, Input variable


Input variable for to display menu Input add-ons Decide if inputted
contact number options choice amount is sufficient

Input choices for menu If insufficient, print


Print message for statement for
options and its
corresponding number add-ons insufficient amount

If sufficient, print
Print menu selection Input decision for delivery details and
additional orders appreciation message

Input add on Proceed to welcome


message for yes message and prompt
decisions for next user

Redisplay menu
options
Algorithmic Thinking Print message
for invalid inputs

If > 2
Input user’s name, Print Display menu
Print welcome delivery adress, statement Input user
Start Programming If = 1 selection and its
statement for and contact after form decision to Input <= 2
corresponding
user number completion proceed
number

If = 2
Print message
for invalid inputs

If > 2
Input user
Input user
decision for Input number If = 1 Input size Input number
Input <= 2 decision for
additional of add-ons selection of meal choice
add-ons
orders

If = 2
Display delivery
Print message If > 2 If = 2 Display order Input amount price <= True details and
for invalid inputs
Input <= 2
summary paid payment appreciation
message
If = 1

False
Display menu Print
selection and its statement for
corresponding insuffecient
number amount
Grab and Foodpanda both offer a range of
services, and selections for cuisines you want
to eat but can be complex sometimes to
navigate. It’s features have no limitation in
ordering and provides real-time tracking. On
the otherhand, the programmed online
ordering system, being it’s own restaurant,
has limited selections where in you could only

o
limit your orders up to 3 but it shows only the
necessary details you need when ordering
food making ordering easy to navigate and
concise.

Abstraction
Problem Solution
Used if and while statement in
Looping the entire tandem with a new variable to
constantly loop that ends once
process ordernum > 3 OR addonorder = 'n'

Not yet fixed, but planning


Printing the order
to use variables to rewrite
summary code

Not yet fixed, but


Returning back from
planning to use elif
menu
statement

Added a while loop to


Looping the '2- constantly re-do the system
Cancel' system until 1-Order is chosen

Menu formatting Rewrote menu


errors

Incorrect value Analyzed values,


inputted and re-typed value

Analyzed variables,
Incorrect variable and re-wrote
inputted variable

Rewrote print
Wrong print
statement or
statement came out
variable

Found which if
Lacking if statements were
statements missing, added in

Used a while loop to


Displaying error display error message
message until condition is
satisfied
Not yet fixed, but planning
Repeating add-on to loop from the menu
function through using ordernum >
3

Evaluation

You might also like