Organizational Chart Graph
Organizational Chart Graph
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
Input variable for If no, redisplay the Input decision for Input payment
delivery address starting program any add-ons amount
If sufficient, print
Print menu selection Input decision for delivery details and
additional orders appreciation message
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'
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
Evaluation