```
#include<iostream.h>
#include<conio.h>
float si(int p,int r,int t)
{
return(float)(p*r*t)/100; }
int main()
{
int p,r,t,s;
cout<<"enter the p,r,t";
cin>>p>>r>>t;
float s=si(p,r,t);
cout<<"simple interest="<<s;
}
getch();
}
```

iam new to c++ and i was going through UDF's when i pondered upon this problem of calculatin the simle interest ... pls help me n pls tell whats wrong with this program.

thank you.