Page 491 - C++
P. 491

class Transaction
            {
                   int Item_no,No;
                   date tans_date;
                   item_b i[10];
                   public:
                   void IGetdata();
                   void IDisplaydate();

                   };
            class AMC
            {
                   int Lab_no,Supplier_no;
                   date Start_date,End_date;
                   int no_of_items;
                   float price;
                   public:
                   void Lgetdata();
                   void Ldisplay();
                   int Return_labno{     return Lab_no;       }
            };





                        MAIN MENU

               1.      Supplier Management
                       a.  Add a Supplier
                       b.  Delete a Supplier
                       c.  Modify a Supplier
                       d.  exit
               2.      Item Management
                       a.  Add an Item
                       b.  Delete an Item
                       c.  Modify an Item
                       d.  Exit
               3.      AMC
                       a.  Add
                       b.  Delete
                       c.  Modify
                       d.  exit
               4.      Transaction
                       a.  Purchase
                       b.  AMC
               5.      Query
                       a.  Item
                       b.  Supplier
                       c.  AMC
               6.      Exit
   486   487   488   489   490   491   492   493   494   495   496