C++ Program to print your name 10 times using while loop.

C++ Program to print your name 10 times using while loop.



#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a=1;
while(a<=10)
{
a++;
cout<<"Sahaj"<<endl;
}
getch();
}


Learn More :