title: Upside Down Isosceles Triangle
body: <p>Answered:</p>
  
  <p>The assignment I was given is to write a Java program that outputs an isosceles triangle based on the users input. For instance, if a user were to input the number 5 after being prompted, the program would output</p>
  
  <pre><code>*****
  ****
  ***
  **
  *
  </code></pre>
  
  <p>We were instructed to use while loops, but I was not having any success with that. I decided to use for loops instead but am still having trouble. I've declared my variables and have prompted the user for input. Below you will find my for loops. Please help! All my program is doing is printing out a continuous column of pound signs.</p>
  
  <pre><code>    //For loop
      for (CountOfRows=UserInput; CountOfRows&gt;0; CountOfRows--)
      {
          System.out.println("# ");
          for (CountOfColumns=UserInput; CountOfColumns&gt;0; CountOfRows++)
          {
              System.out.println("# ");
          }
  
      }
  </code></pre>