title: Make a upside down triangle in java
body: <p>I am trying to make the triangle I have made up side down.
  Tried many times, but I don't know how to do this.</p>
  
  <p>The code I have know is: </p>
  
  <pre><code>public static void drawPyramide(int lines, char symbol, boolean startDown) {
      //TRIANGLE
  
      if(startDown) {
                  //The triangle up side down should be here. 
              }
  
      else {
          int c = 1;
          for (int i = 0; i &lt; lines; i++) {
              for (int j = i; j &lt; lines; j++) {
                  System.out.print(" ");
              }
              for (int k = 1; k &lt;= c; k++) {
                  if (k%2==0) System.out.print(" ");
  
                  else System.out.print(symbol);
              }
  
          System.out.print("\n");
          c += 2;
          }
      }
  
  }
  </code></pre>
  
  <p>Any suggestions how I can "flip" this triangle? Thanks.</p>