Page 399 - C++
P. 399

cout<<"\n\t\7 Press any key to continue...........";
                        }
                        int retad();
                        float rettution();
                        float retpta();
                        float retscience();
                        float retpupil();
                        float retsupw();

         }f;

         float fee::rettution()
         {
                return tution;
         }

         float fee::retpta()
         {
                return pta;
         }

         float fee::retpupil()
         {
                return pupil;
         }

         float fee::retscience()
         {
                return science;
         }

         float fee::retsupw()
         {
                return supw;
         }

         //*************FUNCTION TO ENTER FEE STRUCTURE*************

         void fee::enterd()
         {
                clrscr();

                cout<<"\n\t Enter Class             :  ";
                cin>>s.cls;


                cout<<"\n\t Enter the Tution fee    :  ";
                cin>>tution;
                cout<<"\n\t Enter the Pta fee       :  ";
                cin>>pta;
                cout<<"\n\t Enter the Science fee   :  ";
                cin>>science;
                cout<<"\n\t Enter the Pupil fund    :  ";
                cin>>pupil;
   394   395   396   397   398   399   400   401   402   403   404