PROGRAM-:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float p,r,t,si;
cout<<"enter principle,rate,interest";
cin>>p>>r>>t;
si=(p*r*t)/100;
cout<<"simple interest is"<<si;
getch();
}
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float p,r,t,si;
cout<<"enter principle,rate,interest";
cin>>p>>r>>t;
si=(p*r*t)/100;
cout<<"simple interest is"<<si;
getch();
}
0 comments:
Post a Comment