title: Checking to see if a 2d array is jagged
body: <p>I am finishing up a program but having a bit of trouble with one last aspect.</p>
  
  <p>In this part of the program, I am testing to see if the array is jagged (same number of rows and columns).  I want to use a nested <code>for</code> loop to do this but am having trouble with the logic and structure.</p>
  
  <p>For example, the following array is jagged:</p>
  
  <pre><code>1, 2, 3
  4, 5, 6
  7, 8, 9, 10
  </code></pre>
  
  <p>And the following array is not:</p>
  
  <pre><code>1, 2, 3
  4, 5, 6
  7, 8, 9
  </code></pre>
  
  <p>Can anyone offer guidance on how to do this?</p>