title: I'd Like to know how to make an asterisk right triangle(S) in C++ using a loop
body: <p>I want something like this:</p>
  
  <pre><code>****      ****
  ***        ***
  **          **
  *            *
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>void roadBound() {
  
      for( int i = 1; i &lt;= 10; i++ ){
          for( int j = 0; j &lt; i; j++ ){
             cout &lt;&lt; "*" ;
          }
          cout &lt;&lt; endl;
      }
  }
  </code></pre>
  
  <p>But it wasnt even close. Please help</p>