Thursday, February 15, 2018

write an program to calculate simple interest using to construct in c++

#include<iostram.h>
#include<conio.h>
       class si
             { private: int p,t,r,si=0;
                public:interest()
     {cout<<"enter any value of p,t,r,:";
      cin>>p>>t>>r;
        si=p*t*r/100;
cout<<"si="<<si;
    }
};
void main()
  { si.s
    getch();
     }vvvvv

No comments:

Balkrishna Bhandari, : 8085 microprocessor program

Balkrishna Bhandari, : 8085 microprocessor program : write an assemble language program to add two 8-bit data 32H and 44H store result at 20...