Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CONFIDENTIAL 2 CS/FEB 2021/CSC415 PARTA (40 MARKS) QUESTION 1 Hijrah Agency Travel offers three types of packages for their customers to perform umrah. The detail
CONFIDENTIAL 2 CS/FEB 2021/CSC415 PARTA (40 MARKS) QUESTION 1 Hijrah Agency Travel offers three types of packages for their customers to perform umrah. The detail of charges is given in the following table: Package code A Category Package type Topaz - umrah during non-peak season Nilam - umrah during Ramadhan Charge per person (RM) 7500 6000 9500 7500 8500 7000 Adult Child Adult Child Adult Child B Ruby - umrah during school holiday For each package, the customer has to pay 6% for service tax. Write a C++ program segment that a) Input the customer's name, package code, number of adults and number of children. (2 marks) b) Calculate the charge before the service tax, the service tax and the net charge (charge with the service tax). (7 marks) c) Display the customer's name, the package type, number of adults, number of children, the service tax and the net charge. (2 marks) d) Calculate and display the total for all customers. (2 marks) e) The process will continue until the user request to stop. (2 marks)
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