title: nested for loop for symbols
body: <pre><code>#include &lt;stdio.h&gt;
  
  void main() {
      int h, l, x, y;
      printf("Enter the length of the box : ");
      scanf("%d", &amp;l);
      printf("Enter the height of the box : ");
      scanf("%d", &amp;h);
  
     for(x=1; x&lt;=l; x++) {
         printf("z ");
     }
     for(y=2; y&lt;=h; y++) {
         printf("\nz ");
     }
  }
  </code></pre>
  
  <p>I know some codes are missing, I deleted them because they won't work.
  Please tell me what to add to get it to work as below.</p>
  
  <p>eg : input l = 5, h = 3</p>
  
  <p>current output :</p>
  
  <p>z z z z z</p>
  
  <p>z</p>
  
  <p>z</p>
  
  <p>expected output :</p>
  
  <p>z z z z z</p>
  
  <p>z z z z z</p>
  
  <p>z z z z z</p>