Answered You can hire a professional tutor to get the answer.

QUESTION

Project 2 The Amusement Park Problem - Part II Requirements First correct any errors noted by instructor in Part I. Now change the pricing in the...

Now change the pricing in the Part I program to include the following price changes and adjustments.

Category Price Adjustment

Children

$12.00

The price is $10 if there are more than 8 children. Adjust the child price in the output display but make sure you only use one cout for the children line item.

Adult

$25.00

Add the total number of tickets to the display.

All groups with more than 20 people or 14 or more children must pay a $15.00 security fee. Add the security fee to the total bill. Only display the security fee if it’s part of the total bill.

Add a pretest while loop so the program executes until the user enters -1 for the child ticket value. See the pretest loop example in the Chapter Two Repetition Notes. Review the example that uses price to determine how the loop executes.

Add a posttest do loop to verify that the cash entered is enough to pay the bill. If it is not, display a message and request the cash again.

Add a confirmation number to the receipt. The first number should be 100 and then add 1 for each new receipt.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question