Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Program to display the following pattern:
- **********
- **********
- **********
- */
- #include<iostream.h>
- #include<conio.h>
- void main()
- {
- clrscr();
- for(int i=1;i<=3;i++)
- {
- for(int j=1;j<=10;j++)
- cout<<"*";
- cout<<endl;
- }
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment