lalalika / thinkjavasolutions

Automatically exported from code.google.com/p/thinkjavasolutions
0 stars 0 forks source link

Patch for /trunk/chap04/Exercise04.java #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
According to the exercise instructions, the number of beers should be one less 
on the third part of the lyrics:

"99 bottles of beer on the wall, 99 bottles of beer, ya’ take one down, ya’ 
pass it around, 98 bottles of beer on the wall."

So I just substracted one beer from the number after printing lyrics2 in the 
printLyrics method.

Original issue reported on code.google.com by nicolas....@gmail.com on 5 Apr 2011 at 1:28

Attachments: