Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
[code=cplusplus] #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(); } [/code] iam new to c++ and i was going through UDF's when i pondered upon this problem of calculatin the simle interest ... … |