Guest User

Untitled

a guest
Feb 6th, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.  
  8. int a;
  9. cin>>a;
  10.  
  11. for(int i=0; i<a;i++)
  12. {
  13.     cout<<endl;
  14.     for(int w=0; w<=i; w++)
  15.     {
  16.     cout <<"x";
  17. }
  18. }
  19.  
  20. cout<<endl<<endl;
  21.  
  22.     system("pause");
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment