Commit | Line | Data |
---|---|---|
f1b75fba JS |
1 | public class Beer |
2 | { | |
3 | int special, RIGHT; | |
4 | public static void main(String args[]) | |
5 | { | |
6 | String s=" "; | |
7 | for(int x = 99; x > 0; x--) | |
8 | { | |
9 | System.out.print(x + " bottles of beer on the wall " | |
10 | + x + " bottles of beer\n" // ChangeMe | |
11 | + "Take one down, pass it around, " + (x - 1) | |
12 | + " bottles of beer on the wall.\n"); | |
13 | } | |
14 | System.out.print("Go to the store, buy some more,\n" | |
15 | + "99 bottles of beer on the wall.\n"); | |
16 | } | |
17 | } |