title: For loop, adding 2 to an int every row printed
body: <p>Okay, so I'm working on a program for my Comp Programming class and I need to make a program that takes the number of rows, and prints a a pyramid by adding 2 to ever row. A visual looks like this: <img src="https://i.stack.imgur.com/Gng56.gif" alt="Given that the input for rows is: 5"></p>
  
  <p>So the input was 5, as you see it makes 5 rows and adds 2  *'s every row down. Well, I'm not sure about how to make the number of *'s increase in increments of 2. Here is my code so far:</p>
  
  <pre><code>public static void pyramid(){
  
      System.out.println("Columns:");
      rows = input.nextInt();
  
      for(int s = 0; s &lt;= rows; s++){
  
          for(){
  
          }
      }
  
  }
  </code></pre>
  
  <p>I started another for-loop inside of the first one because I know I'm going to need it in order to make this work. My question is, how would I go about making it add 2 *'s every line it goes down.</p>