Answered step by step
Verified Expert Solution
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 DN RM
Adult:
Child:
Package code B
Package name: Langkawi Island & Nature
Package rate for DN RM
Adult:
Child:
Package code C
Package name: Langkawi Culture & Historical Package rate for DN RM
Adult:
Child:
Each Customer is charged SSTPackage does not include meals. For customers who prefer to include meals in their package,there is an additional RM charge for adults and RM 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:
Enter number of children:
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: RM
Total SST: RM
Total with SST: RM
The program will be repeated to enter another customer. The program will calculate the total number chosen for each package Apackage 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:
Package B:
Package C:
Total sales: RM
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started