title: Nested for loop exercise
body: <p>How can I solve this using php? </p>
  
  <p>Write nested for loops to produce the following output:</p>
  
  <p>Enter a number:5</p>
  
  <pre><code>----1
  ---22
  --333
  -4444
  55555
  </code></pre>