title: PLSQL nested loop to output data
body: <p>I am trying to find a code that creates a box such as...
  XXX
  XXX
  XXX
  (exp. 3x3) depending on what the user inputs as row and height variables.  My nested loop is not working correctly.  Can I please get some help?</p>
  
  <p>Heres code...</p>
  
  <pre><code>Set ServerOutput on;
  Declare
  
    RectangleHeight Number(2):=5;
    RectangleWidth Number(2):=;
    RowCount Number(1) :=0;
    ColumnCount Number(1) :=0;
   Begin 
  Loop 
  Exit When RowCount&gt;=RectangleHeight;
      Loop
      Exit When ColumnCount&gt;=RectangleWidth;
      dbms_output.put_line('X');  
      ColumnCount := ColumnCount+1;
      End Loop;
  RowCount := RowCount+1;
  End Loop;
  
  
  End;
  </code></pre>