Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

Write the properties of Group theory.

Answered: 1 week ago