Here is some things to look at...
1. The program should display the seating chart for the airplane. It will use an * to indicate a seat is taken and the # to indicate the seat is available.
2. An isle has to separate down the middle of the plane, and headers have to be added.
3. The program will also display a menu which provides the user with several options. There will be two types of seats in the airplane: first class and coach, each of which will have a different cost.
· The prices for all the first class seats will be the same = $324.23
· The first 5 rows of coach will be more expensive than the last 5 rows.
1. First 5 of Coach cost $200.00
2. Second 5 Coach cost $150.23
1 / 2 / 3 / 4 / First Class: / 20-4 = 16 empty seatsRow 1 / * / # / # / *
Row 2 / * / # / # / *
Row 3 / # / # / # / #
Row 4 / # / # / # / #
Row 5 / # / # / # / #
1 / 2 / 3 / 4 / 5 / 6 / Coach: / 60-18 = 42 empty seats
Row 1 / * / * / # / # / # / #
Row 2 / # / * / * / # / # / #
Row 3 / # / # / # / * / * / *
Row 4 / # / # / # / # / * / #
Row 5 / # / # / # / # / * / #
Row 6 / # / # / # / # / * / *
Row 7 / * / * / * / # / * / *
Row 8 / * / * / # / # / # / #
Row 9 / # / # / # / # / # / #
Row 10 / # / # / # / # / # / #
· The menu will provide choices to reserve a seat(s).
· Display the total number of seats sold (indicating first class and coach).
· Display the total number of seats empty in a row (Not really sure how this can be done)
· Display the total number of seats empty in the plane (indicating first class and coach) (I think the math calculation is wrong for Coach)
· Display the total amount of sales (in dollars). Just take a look at the cost. Make sure all 1st class are the same and only the first five of Coach pay $200 each and the last five pay $150.23.
· Validation: The seat requested by the user is a valid row and seat number. The program should also make sure the seat is not already taken.