title: How to make loop run as many times as user inputs?
body: <p>I have a for loop and the method to call it is printMe() and I want the user to be able to determine how many times it runs with their input. This is along the lines of what I think it should be:</p>
  
  <pre><code>  System.out.println("Enter a number: ");
    loop = input.nextInt();
  </code></pre>