title: Random generated number
body: <p>How would you set up a program using Java to generate a 5 digit number using the following statement:</p>
  
  <pre><code>int n = (int)Math.floor(Math.random()*100000+1)
  </code></pre>
  
  <p>It also has to print the number generated.  I have tried writing this different ways and keep coming up with errors.</p>