Page 464 - C++
P. 464

class Booking
            {
                   int Flight_no,Seat_no;
                   char Name[30],FatherName[20],Address[30],Phone[10],Mobile[15], pincode[10];
                   Seat S;
                   char confirm;
                   char Non_veg;
                   public:
                   void BGetdata();
                   void BDisplaydata();
                   float *Return_Seat_no()      {      return seat_no; }
                   void Update_seat()
                   {
                          confirm=’Y’;
                   }
                   int Return_pflight()  {      return Flight_no;    }

            };






                                         MAIN MENU

                                 1.  Plane Management
                                     a.  Add a plane
                                     b.  Delete a plane
                                     c.  Modify a plane
                                     d.  exit
                                 2.  Flight Management
                                     a.  Add a Flight
                                     b.  Delete a Flight
                                     c.  Modify a Flight
                                     d.  Exit
                                 3.  Transaction
                                     a.  Booking
                                     b.  Cancellation
                                     c.  Exit
                                 4.  Query
                                     a.  Flight
                                     b.  Plane
                                 5.  Report
                                     a.  Plane List
                                     b.  Flight List
                                     c.  Passenger List
                                 6.  Exit
   459   460   461   462   463   464   465   466   467   468   469