akbarbasya26

looping segitiga

Jan 6th, 2020
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data