Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To be honest I been struggle with this practice project for two weeks now. Make sure I can get comments with it please. I just

To be honest I been struggle with this practice project for two weeks now. Make sure I can get comments with it please. I just want to compare it too what I have.

C++ program that allows user to purchase tickets for an airline The airplane has 13 rows of seats, and each row has 6 seats. Rows 1 and 2 are first class, rows 3 - 8 are business class, and rows 9 - 13 are economy class.

First class tickets are $250.00 each, business class tickets are $175.00 each and economy class tickets are $95.00 each.

The program should start with the following menu:

Aimless Airways

1. Purchase Tickets

2. Exit Program

After the user choses to purchase tickets, they should be presented with the following menu:

Purchase Tickets

1. First Class

2. Business Class

3. Economy Class

4. Checkout

Once they have chosen a class, then the program should display the entire seating chart for the plane.DO NOTsimply display the rows that are in the class they chose.

You will use a 2 dimensional array to hold the information about which seats are available and which ones have been taken. You will also use this array to print out the seating chart.

The seating chart should look like this when displayed to the screen:

image text in transcribed
Raw 1 Raw 2 Raw 3 Raw 4 Raw 5 Raw 5 3 Raw T Raw E 3 Raw 9 Raw in * Row 11 Raw 12 * Raw 13

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions