title: 99 bottles of beer on the wall code
body: <p>The assignment was to, "design and implement an application that prints the first few verses of the traveling song “One Hundred Bottles of Beer.” Use a loop such that each iteration prints one verse. Read the number of verses to print from the use and validate the input."  I'm having some trouble coming up with a for loop. This is what I have so far but I'm pretty sure I'm way off. Any pointers?</p>
  
  <pre><code>    int verse;
      int count;
      System.out.println("number of verses?");
      verse = scan.nextInt();
      for(count= verse; count &gt;= (verse - 3); count--)
      {
          System.out.println(verse + " bottles of beer on the wall");
          System.out.println(verse + " bottles of beer");
          System.out.println("If one of those bottles should happen to fall");
          System.out.println(count + " bottles of beer on the wall");
          System.out.println(count + " bottles of beer on the wall");
          System.out.println(count + " bottles of beer");
          System.out.println("If one of those bottles should happen to fall");
          System.out.println(count + " bottles of beer on the wall");
  
      }
  </code></pre>