Write a C++ program for an amusement park to display the bill for the cashier. The pricing schedule is as follows:
Category Price
Children $ 2.00 each
Youth $ 8.50 each
Adults $12.50 each
Write a program that accepts the number of people in each of the three age categories, performs the necessary computations, and displays a bill for the group's admission similar to the display below. Be sure to test for a variety of values.
Use the amuseOne.cpp file as a template for this project. This code will help you organize your first project. Be sure to delete my comments in the template before submitting the project.
Here is a sample display after three values are entered:
Chesapeake Amusement Park
Tickets Price Total
Children ## 2.00 $$$$.$$
Youth ## 8.50 $$$$.$$
Adults ## 12.50 $$$$.$$
Total Bill $$$$$.$$
Purpose of this project
Develop C++ program with the following features:
Constants and variables
Input data
Calculations including totals
Output display with readable formatting
Step 1 Read: http://www.cplusplus.com/doc/tutorial/ Step 2 Follow the directions in the original post. Step 3 (optional) If you get stuck, ask for specific help.
These boards aren't somewhere for you to find homework answers. If you'd expressed the problem, showed your current progress and highlighted any specific errors/problems then my demeanour would have been completely different.
EDIT: Just reread your original post. You've even been given a template file to work on.