Posts
 
Reputation
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
~213 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for penguhooks

[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 ... …

Member Avatar for Tom Gunn
0
213