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.

Show us the code that you have come up with.
or
I mean where do you need help at?

need help with everything dont realy know where i should start

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.

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 ...

need help with everything dont realy know where i should start

Is there any marks involved ?

Is there any marks involved ?

Probably lol :P

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.