solve problems
Sunday, 24 July 2011
PROGRAM IN C++ to explain the concept of the default arguments
BlogThis!
|
Email This!
|
Print This!
|
No comments
Do you like this post?
#include
#include
float interest(float p,int n,int r=15)
{
return((p*n*r)/100);
}
void main()
{
clrscr();
cout<<"\n The interest is : Rs."<
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment