Question: 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
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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!