1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

hey please help me in this program of c...

Discussion in 'C' started by Shashank, Mar 4, 2011.

  1. Shashank

    Shashank New Member

    Mar 4, 2011
    Likes Received:
    Trophy Points:
    Seat Planing
    Write a function for seat allocate and seat reserved.Seat allocate array and seat reserver array.Seat
    allocate array is of 10*20 and each row and column represent A1,A2....;B1,B2.....;........J1,J2... and
    so on i.e row are A to J whereas col starts from 0 to 19.Each cell in the table represent either 0 or
    1. 0 rep seat available , 1 repr seat reserved.
    Seat allocation starts from highest to lowest.And row j is highest, i is second highest and so on.
    Max 20 seats can be booked at a time. if seat is available print the seat no like "B2" i.e (2 row, 3 col)
    and seat is booked." otherwise Print "Seat is not available."

Share This Page