Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int n = 5;
  6.  
  7. int main()
  8. {
  9. for (int i = 1; i <= n; i++){
  10. for (int k = n+1; k > 1; k--)
  11.  
  12. cout<<n<<" ";
  13. cout<<"\n";
  14. }
  15.  
  16.  
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement