title: for loop multiplication program does not output properly
body: <p>Now ive run into another issue with loops, this time trying to make a simple multiplication program using the same code as above.</p>
  
  <pre><code>    package loops;
  
  
  import java.util.Scanner;
  
   public class forloops {
  
  public static void main(String[] args) {
  
     Scanner input = new Scanner(System.in);
  
      System.out.println("Enter an integer you wish to multiply");
  
      int loopval;
      int end_val = 11;
      int times = input.nextInt();
  
  
      for (loopval = 0; loopval &lt; end_val; loopval++) {
          times = times * loopval;
          System.out.println(loopval + " " +"Times" + " " + times + " " + "=");
  
  }
  
  
  
  
      }
  }
  </code></pre>
  
  <p>My output loops from 1 - 10, but it seems to just exponetiate. I am just trying to make it go 1 times 5 = 5, 2 times 5 = 10, etc.</p>