title: Print rows of triangle if a user specifies (more than 0)
body: <p>I want the code to do this:
  If I enter '5' it would print 5 triangle rows like this:</p>
  
  <pre><code>+
  
  ++
  
  +++
  
  ++++ 
  
  +++++ 
  </code></pre>
  
  <p>I also want to inverse it afterwards so that it looks like so:</p>
  
  <pre><code>+++++ 
  
  ++++ 
  
  +++ 
  
  ++ 
  
  +
  </code></pre>
  
  <p>This is my attempt:</p>
  
  <pre><code>package test;
  import java.util.Scanner;
  public class Testo1
  {
      public static void main(String[] args)
      {
          //
          Scanner input = new Scanner(System.in);
          int Rows = 0;
          //
          while(Rows&lt;=0){
          System.out.print("How many rows do you want in your triangle, more than 0?: ");
          Rows = input.nextInt();
          }while(Rows&gt;=0){
          //Honestly, I don't know what to do here or the logic to implement. 
          }
  
      }
  }
  </code></pre>
  
  <p>I commented the part in the while loop where I got lost. I want this in a while-loop nest. Can someone please guide me? </p>