Page 398 - C++
P. 398

cout<<"\n\t\t  Section is : "<<sec;
                        }

                        int retno()
                        {
                               return admno;

                        }
                        int clcheck(int c,char se);

         }s;

         int student::clcheck(int c,char se)
         {
                if((cls==c)&&(sec==se))
                        return 1;
                else
                        return 0;
         }


         //********** FUNCTIONS TO CONTROL FEE INFO ****************

         void ADDITION();
         void MODIFICATION();
         void DELETE();


         //*********************************************************
         //**************CLASS TO MANAGE FEE INFO ******************
         //*********************************************************

         class fee
         {
                        float tution, pta, science, pupil, supw;
                public:

                        fee()
                        {
                               tution  = 0.0;
                               pta     = 0.0;
                               science = 0.0;
                               pupil   = 0.0;
                               supw    = 0.0;
                        }
                        void enterd();
                        void displayd()
                        {
                               clrscr();
                               cout<<"\n\n\t TUTION FEE   :  "<<tution;
                               cout<<"\n\n\t P.T.A. FUND  :  "<<pta;
                               cout<<"\n\n\t SCIENCE FEE  :  "<<science;
                               cout<<"\n\n\t PUPIL FUND   :  "<<pupil;
                               cout<<"\n\n\t S.U.P.W FEE  :  "<<supw;
   393   394   395   396   397   398   399   400   401   402   403