nvnnaidenov

TriangleOfStars

Oct 28th, 2021
830
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     for(int i = 0; i <= 9; i++)
  8.     {
  9.         for(int j = 0; j <= i; j++)
  10.         {
  11.             cout << "*";
  12.         }
  13.         cout << endl;
  14.     }
  15. }
RAW Paste Data