#include<iostream.h>
#include<conio.h>
void myfuntion(int);
void main()
{
clrscr();
myfuntion(10);
}
void myfuntion(int counter)
{
if(counter==0)return;
else
{
cout<<"\ncounter= "<<counter;
myfuntion(--counter);
return;
}
}
#include<conio.h>
void myfuntion(int);
void main()
{
clrscr();
myfuntion(10);
}
void myfuntion(int counter)
{
if(counter==0)return;
else
{
cout<<"\ncounter= "<<counter;
myfuntion(--counter);
return;
}
}
0 comments:
Post a Comment