QUESTION 2 An admission charge for the Bandar Orchid Water Park varies according to the age of the customer. The customer need to key in the number of person for each category. (Assume all categories...


C++ Programming


QUESTION 2<br>An admission charge for the Bandar Orchid Water Park<br>varies according to the age of the customer. The customer<br>need to key in the number of person for each category.<br>(Assume all categories are required. Do not use Decision).<br>Then, it will calculate and display the total charge and the<br>category as shown below (as in Sample of Output). The<br>charges are as follow:<br>Category (Age) Charge (RM)<br>Over 50<br>30.00<br>13 - 50<br>40.00<br>3 - 12<br>15.00<br>Under 3<br>Free<br>Sample of Output:<br>Category (number of person)<br>Over 50<br>:<br>1<br>13<br>50<br>: 3<br>3<br>12<br>: 0<br>Under 3<br>:<br>1<br>Total<br>RM 150.00<br>Discount (10%)<br>RM 15.00<br>Grand Total<br>RM 135.00<br>I O I<br>

Extracted text: QUESTION 2 An admission charge for the Bandar Orchid Water Park varies according to the age of the customer. The customer need to key in the number of person for each category. (Assume all categories are required. Do not use Decision). Then, it will calculate and display the total charge and the category as shown below (as in Sample of Output). The charges are as follow: Category (Age) Charge (RM) Over 50 30.00 13 - 50 40.00 3 - 12 15.00 Under 3 Free Sample of Output: Category (number of person) Over 50 : 1 13 50 : 3 3 12 : 0 Under 3 : 1 Total RM 150.00 Discount (10%) RM 15.00 Grand Total RM 135.00 I O I

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here