Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SweetCupCakes Sdn. Bhd is a company which sells cupcakes and provides the delivery service for their customer in Klang Valley. Negeri Sembilan and Melaka. There

image text in transcribed

SweetCupCakes Sdn. Bhd is a company which sells cupcakes and provides the delivery service for their customer in Klang Valley. Negeri Sembilan and Melaka. There is a special promotion for their customer based on number of cakes bought. This company requires a program which can calculate the total price (before and after discount) and delivery charge based on the destination. Tables below show the details about the price, delivery charge and promotion. Create a complete program that will perform the following tasks: In order to identify di s count and delivery_charge, customer is required to input: - Cake_code - quantity - dest_code The program should repeat the process of input for a few number of times until the customer enters ' N ' to finish the order. Calculate the total_quantity of cupcakes ordered by the customer. The program should be able to display the total quantity of cupcakes, the total price (bei and after discount) and delivery charge based on the destination

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions