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

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

  1. Shashank

    Shashank New Member

    Joined:
    Mar 4, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice