Question:

What will be the code for turbo c++ for this problem?

by Guest62734  |  earlier

0 LIKES UnLike

how to Write a program that can be used to assign seats for a commercial airplane. The airplane has 13 rows with 6 seats in each row. Row 1 and 2 are first class, the remaining rows are economy class.Also rows 1 through 7 are non-smoking. Your progran must prompt the user to enter the following information: a.Ticket type (first class or economy class) b.For economy class, the smoking or non smoking section. c.Desired seat

Here -Indicates that the seat is available; X indicates that the seat occupied.Make this a menu-driven program; show the users choices and allow the user to make appropriate choices .

 Tags:

   Report

2 ANSWERS


  1. You need to do your own homework or you'll never pass the class.


  2. seems like a multi-dimensional array

    int choice1;

    int choice2;

    int seat=6;

    int row=13;

    airplane[row][seat];

    do the rest of your own d**n homework yourself.  

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.