title: How can i get a '*' ladder?
body: <p>I want to add more * for each line but it appears only 1 * for each line.
  so confusing</p>
  
  <p>Here is my code </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
    int number;
    scanf("%d",&amp;number);
    for(int i = 1 ; i &lt;= number ; i++)
    {
      printf("*\n");
    }
    return 0;
  }
  </code></pre>
  
  <pre><code>This is my output
  5
  *
  *
  *
  *
  *
  </code></pre>
  
  <pre><code>This is output I want
  5
  *
  **
  ***
  ****
  *****
  </code></pre>