ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 08 May 2017 My Price 8.00

Airplane Seating Assignment

(Airplane Seating Assignment) I need help writing 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, rows 3 through 7 are business class, and rows 8 through 13 are economy class. Your program must prompt the user to enter the following information: a.Ticket type (first class, business class, or economy class) b.Desired seat Output the seating plan in the following form:

          ABCDEF

Row1 * * X * X X

Row2 * X * X * X

Row3 * * X X * X

Row4 X * X * X X

Row5 * X * X * *

Row6 * X * * * X

Row7 X * * * X X

Row8 * X * X X *

Row9 X * X X * X

Row10 * X * X X X

Row11 * * X * X *

Row12 * * X X * X

Row13 * * * * X *

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

Answers

(11)
Status NEW Posted 08 May 2017 03:05 AM My Price 8.00

-----------

Not Rated(0)