title: printing a shape with numeric
body: <pre><code>int number1=5;
  int number2=4;
  for(int i=1; i&lt;=7; i++)
  {
      if(rows &lt;= 1)
          for(int i=1; i&lt;=7; i++) 
          {
              cout&lt;&lt; number1;
          }
      else if(i&lt;7)
      {
          cout&lt;&lt; endl;
          for(int j=1; j&lt;=6; j++) 
          {
              if(side2==1 || side2==6)
                  cout&lt;&lt; number1;
              else
                  cout&lt;&lt; " ";
          }
      }
      else
      {
          cout&lt;&lt; endl;
          for(int k=1; k&lt;=6; k++)
          {
              cout&lt;&lt;number1;
          }
      }
  </code></pre>
  
  <p>My program prints this shape</p>
  
  <pre><code> 555555555
   5       5
   5       5
   5       5
   5       5
   555555555
  </code></pre>
  
  <p>but I have been trying to make it look like this </p>
  
  <pre><code> 555555555
   544444445
   543333345
   543222345
   543212345
   543222345
   543333345
   544444445
   555555555
  </code></pre>
  
  <p>I have heard about this website from a friend how much helpful you guys are, I wish you would help me too.</p>