I have to do a program for a class and I am clueless.

I have to write a C/C++ program for an amusement park that encourages family visits. The pricing schedule is as follows:

Category Price

Children under 8 $ 2.00 each

Youth 8 - 18 $ 8.50 each (for every 4 tickets in this age group,

one person is free; this means for every four tickets purchased, the 4th ticket is free.)

Adults 19+ $12.50 each (after 10 adult tickets, the price is $9.00 the first 10 tickets are always $12.50)

All groups with 20 or more people must pay a $25.00 security fee.

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. Display the number of tickets and the cost of admission for each category, total number of tickets, and the total cost. Only display the security fee if not zero. Be sure to test for a variety of values.

Set up constants as necessary.

Attached is the code I have written so far. I have the basics down but can't get the necessary mathmeatical operations down.

If someone could take a look and give me suggestions I would greatly appreciate it.