Advertisement
DidiMilikina

04. Triangle of 55 Stars

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