Page 486 - C++
P. 486

class Patient
            {
                   int Registration_no;
                   char Patient_name[30],PAddress[30], Phone[10],Mobile[15], Problem[20];
                   date d;
                   float fee;
                   public:
                   void VGetdata();
                   void VDisplaydata();
                   int *Return_R()       {      return Registration_no;      }
                   void Update_Fee(int G)
                   {
                          Fee+=G;
                   }
            };



                        MAIN MENU

               1.      Doctor Management
                       a.  Add a Doctor
                       b.  Delete a Doctor
                       c.  Modify a Doctor
                       d.  Exit
               2.      Doctor Timing Management
                       a.  Add New timing
                       b.  Delete timing
                       c.  Modify timing
                       d.  Update Fee
                       e.  Exit
               3.      Patient
                       a.  New
                       b.  Old
               4.      Query
                       a.  Doctor
                       b.  Fee
               5.      Bill Generation
               6.      Exit
   481   482   483   484   485   486   487   488   489   490   491