Write a program that can be used to assign seats for a commercial airplane. The airplane has 13 rows, with six seats in each row. Rows 1 and 2 are first class. 3-7 are business rows. 8-13 are economy rows. The program should prompt the user to: A. Enter ticket type. (first class, business class, economy class.) B. Desired seat. Output the seating plan as follows: Row 1 = * * x * X X Row 2 = * X * X * X Row 3 = * * X X * X Row 4 = X * X * X X Row 5 = * X * X * * Row 6 = * X * * * X Row 7 = X * * * X X Row 8 = * X * X X * Row 9 = X * X X * X Row 10 = * X * X X X Row 11 = * * X * X * Row 12 = * * X X * X Row 13 = * * * * X * X = seat is taken *= seat is available.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more