0

hey everyone need some help with a little homework assignment i need to make a program where a user is trying to book a seat on an airline in either first class or coach and if the seat that the passenger has choose is taken it either gives him another seat automatically or lets him choose another seat all help is greatly appreciated thanks.

4
Contributors
6
Replies
7
Views
8 Years
Discussion Span
Last Post by mvmalderen
0

Firstly you'll need to know how many rows and howmany coloumns.
Then you will also need to write a function to see a seat is empty or booked.
3rdly You will need to write a function to take the input.

Try writing the code for all the above and posting it up here.

0

need help with everything dont realy know where i should start

Split the problem down in several parts which are each easy to understand (this process is also known as abstraction), create a plan before you actually go onto the coding part ...

0

need help with everything dont realy know where i should start

Is there any marks involved ?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.