START Display "Welcome to PasaBuy! Choose a category: [1] Food [2] Medicines [3] Grocery [4] Others [5] Check out choice = Input chosen category if choice Display Available Add orders Display Available food stores to cart Stock items with number of stocks Display Available items with if choice Add orders Display Available medicine stores to cart =2 Stock -1 number of stocks Display Available items with if choice Display Available Add orders to cart = 3 grocery stores Stock number of stocks Display Order name: Display Available items with if choice Add orders to cart Stock1 Price: number of stocks Display Cart/ Order form: Orders: Order Price: Delivery/Convenience Fee: Total Amount: if choice Place order Display Do you have a Senior Citizen card? (1) Yes [2] No choice = Input chosen category if choice Total Amount= 3 1 Order price * 80% if choice Output- Orders: Order Price: Delivery Fee: Discount Price: Total Amount: Display Receipt.csv Orders: Quantity: Orders Price: Delivery Fee: Discount Price: Total Amount: Cash: Change: END

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Discuss the data structure used in this computer program flowchart/ algorithm. Essay type

START
Display
"Welcome to PasaBuy!
Choose a category:
[1] Food
[2] Medicines
[3] Grocery
[4] Others
[5] Check out
choice =
Input chosen category
if choice
Display Available
Add orders
Display Available
food stores
= 1
items with
to cart
Stock -= 1
number of stocks
if choice
Display Available
Add orders
Display Available
medicine stores
items with
to cart
= 2
Stock -= 1
number of stocks
if choice
Display Available
Add orders
Display Available
= 3
items with
to cart
grocery stores
Stock -= 1
number of stocks
Display
Order name:
if choice
Display Available
Add orders
= 4
items with
to cart
Stock - 1
Price:
number of stocks
Display Cart/ Order form:
Orders:
if choice
Place
Order Price:
= 5
order
Delivery/Convenience Fee:
Total Amount:
Display
Do you have a Senior
Citizen card?
[1] Yes
[2] No
choice =
Input chosen category
if choice
Total AmountD
= 1
Order price * 80%
if choice
= 2
Output=
Orders:
Order Price:
Delivery Fee:
Discount Price:
Total Amount:
Display
Receipt.csv
Orders:
Quantity:
Orders Price:
Delivery Fee:
Discount Price:
Total Amount:
Cash:
Change:
END
Transcribed Image Text:START Display "Welcome to PasaBuy! Choose a category: [1] Food [2] Medicines [3] Grocery [4] Others [5] Check out choice = Input chosen category if choice Display Available Add orders Display Available food stores = 1 items with to cart Stock -= 1 number of stocks if choice Display Available Add orders Display Available medicine stores items with to cart = 2 Stock -= 1 number of stocks if choice Display Available Add orders Display Available = 3 items with to cart grocery stores Stock -= 1 number of stocks Display Order name: if choice Display Available Add orders = 4 items with to cart Stock - 1 Price: number of stocks Display Cart/ Order form: Orders: if choice Place Order Price: = 5 order Delivery/Convenience Fee: Total Amount: Display Do you have a Senior Citizen card? [1] Yes [2] No choice = Input chosen category if choice Total AmountD = 1 Order price * 80% if choice = 2 Output= Orders: Order Price: Delivery Fee: Discount Price: Total Amount: Display Receipt.csv Orders: Quantity: Orders Price: Delivery Fee: Discount Price: Total Amount: Cash: Change: END
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY