CONTROL STRUCTURE: SELECTION ( Part II )

Example Question of Selection :

Easy Travel agency offers three types of packages for their customer to perform umrah. The detail of charge in the following table:
Package CodePackage TypesCategoryCharge per person (RM)
A Umrah during Non-Peak Season Adult
Child
6500.00
5000.00
B Umrah During Ramadhan Adult
Child
8500.00
6500.00
C Umrah During Schol Holiday Adult
Child
7500.00
6000.00
 For each package, the customer has to pay 6% for service tax (GST) . 

Write a complete C++ program to do the following :

- Input the booking representative name, package types, number of adults and
number of children.
- Calculate the charge before the GST, the GST and the net charge (charge after
the GST)
GST)
- Display the customer's name, the package type, number of adults, number of
children, the GST and the next charge.

- Calculate and display the total price for customer.

Leave a Reply

Create your own website, free on WordPress.com.Create your own website.
Start free