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:Alya Natasya
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:Alya Natasya
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 will 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 following receipt:
AI TRAVEL & TOURS
****
Package A: 1
Package B: 2
Package C: 0
Total sales: RM3010.40
****
1. Construct an algorithm and flow chart that can lead to the solution for the problem

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

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions