JUN7

looping segitiga

Jan 6th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4.     int i, j;
  5.     for (int i=i; i<=7; ++i)
  6.     {
  7.    
  8.         for (int j=i; j>0; --j){
  9.             cout << j;
  10.         }
  11.         cout<< "\n";
  12.     }
  13. }
Add Comment
Please, Sign In to add comment