C++ Help using code blocks

October 28, 2015 at 13:23:52
Specs: Windows 7
I have to write this program on code blocks in C++
A standard class return fare for a journey from London to Paris is normally about £80,
however a new deal gives special rates for children and seniors as follows:
Age Cost
16-64 £80.00
65 or over £52.60
12-15 £55.00
4-11 £40.20
under 4 free
Design and write a program that reads in the ages of family members and calculates the
total cost of the fair. The program should allow the user to enter any number of passengers.
The program should calculate the fair depending on the age of each passenger.
For example: a family of six with the following ages: 36, 40, 65, 11,12 and 16, comes to

See More: C++ Help using code blocks

Report •

October 28, 2015 at 14:05:45
So, what's your question? I assume that you are not asking us to write the program for you.

Report •
Related Solutions

Ask Question