Question: Package code A Package name :Langkawi Free &Easy Package rate for 3 D 2 N ( RM ) Adult: 2 0 0 . 0 0

Package code A
Package name :Langkawi Free &Easy
Package rate for 3D2N (RM)
Adult: 200.00
Child: 150.00
Package code B
Package name: Langkawi Island & Nature
Package rate for 3D2N (RM)
Adult: 250.00
Child: 200.00
Package code C
Package name: Langkawi Culture & Historical
Package rate for 3D2N (RM)
Adult: 300.00
Child: 250.00
Each Customer is charged 6% SST.Package does not include meals. For customers who prefer to include meals in their
package,there is an additional RM50 charge for adults and RM30 for children.
Read a Customer's name,package code,number of adults and number of children.
The program wil also ask whether the customer wants to add meals to the package.
Calculate the SST and the total price for the customer.
Print the receipt based on the following output:
Enter customer's name:Aiza zafirah
Enter package code:A
Enter number of adults:3
Enter number of children:2
Do you want to add meals to your package? Y
RECEIPT
Customer's name: Aiza zafirah
Package code: A
Package name: Langkawi Free & Easy
Add meals: Y
Total before SST: RM1110.00
Total SST: RM66.60
Total with SST: RM1176.60
The program will be repeated to enter another customer.
The program wil calculate the total number chosen for each package A,package B and package C.
The program will lso calculate the total sales received from all the customers and print the folloving receipt:
AI TRAVEL & TOURS
*****
Package A: 1
Package B: 2
Package C: 0
Total sales: RM3010.40
******
Analyse and identify the input, output and process.

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!