Advertisement
ismaeil

cout

Jul 15th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     for(int i=0 ; i<5 ; i++){
  7.         for(int j=0 ; j <= i ; j++)
  8.             cout << '*';
  9.         cout << endl;
  10.     }
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement