title: Create a shape in C++
body: <p>I want to create a shape like this:</p>
  
  <pre><code>ccccccc
  cccccc
  ccccc
  cccc
  ccc
  cc
  c
  </code></pre>
  
  <p>My code is:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main(){
      int i, j;
      for(i = 0; i &lt; 7; i++){
          for(j = 7; j &gt; 7; j--){
              cout &lt;&lt; 'c';
          }
          cout &lt;&lt; endl;
      }
      return 0;
  }
  </code></pre>
  
  <p>But in terminal the output I get is some blank lines. </p>
  
  <p>What am I doing wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/oB99Z.png" alt="enter image description here"></p>