Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3.  
  4. using namespace std;
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8.  
  9. int i,j;
  10. for (i=0;i<1;i++)
  11. cout << " # ";
  12. cout << endl;
  13. for (j=0;j<=1;j++)
  14. {
  15. cout << " # ";
  16. cout << endl;
  17. if (j==1)
  18. {
  19. cout<<"#############"<<endl;
  20. for (j=0;j<=2;j++)
  21. {
  22. cout << " # ";
  23. cout << endl;
  24. }
  25. }
  26.  
  27. }
  28. system("PAUSE");
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement