Answered step by step
Verified Expert Solution
Question
1 Approved Answer
programming langguage Write a program that calculates and displays the total prices for online food ordering system. Ask if the customer was intended for dine-in
programming langguage
Write a program that calculates and displays the total prices for online food ordering system. Ask if the customer was intended for dine-in or take-away. Data for dine-in: Number of food pack (RM5.00 single and RM10.00 twin) Restaurant service charges (10% from the total order) GST (6% from the total order) Data for take-away: Number of food pack (RM5.00 single and RM10.00 twin) The program should use two functions to calculate the total prices for both dine-in and take-away, both functions should return the values. Give the discount 10% when the customer purchases above 5 of the total packs for take-away. (Control the input from user) Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started