sahajjain01

Display pattern #3

Aug 21st, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. /* Program to display the following pattern:
  2. **********
  3. **********
  4. **********
  5. */
  6. #include<iostream.h>
  7. #include<conio.h>
  8. void main()
  9. {
  10.     clrscr();
  11.     for(int i=1;i<=3;i++)
  12.     {
  13.         for(int j=1;j<=10;j++)
  14.         cout<<"*";
  15.         cout<<endl;
  16.     }
  17.     getch();
  18. }
Advertisement
Add Comment
Please, Sign In to add comment