Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6.  
  7. {
  8.     int poziomy;
  9. cout<<"PODAJ LICZBE POZIOMÓW\n";
  10. cin>>poziomy;
  11. for (int j=0; j<poziomy;j++)
  12. {
  13. cout<<"*";
  14.  
  15. for (int i=0 ; i < poziomy ; i++ )
  16.  
  17. {
  18.     cout<<"*\n";
  19.  
  20.  
  21.  
  22.  
  23.  
  24.     }
  25.  
  26.  
  27.  
  28. }
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement