Saturday, September 20, 2014

Program to print your name 10 time through Recursion

#include<iostream.h>
#include<conio.h>
void myfuntion(int);
void main()
{
clrscr();
myfuntion(1);
}
void myfuntion(int counter)
{
if(counter==11)
return;
else
{
cout<<counter<<"  Mian Muhammad Usman \n";
myfuntion(++counter);
return;
}
}

Share this

1 Comment to "Program to print your name 10 time through Recursion "

Unknown said...

Play online casino games in Paraguay - Ambienshoppie
The best online casino games 더킹카지노 for you in Paraguay nov카지노 사이트 are casino games https://oncasinos.info/ in www.ambienshoppie.com online casinos in the world where you can goyangfc.com play real money games.