Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //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();
- }
Advertisement
Add Comment
Please, Sign In to add comment