mirror of
https://github.com/git/git.git
synced 2024-11-08 18:23:01 +01:00
18 lines
432 B
Text
18 lines
432 B
Text
|
public class Beer
|
||
|
{
|
||
|
int special, RIGHT;
|
||
|
public static void main(String args[])
|
||
|
{
|
||
|
String s=" ";
|
||
|
for(int x = 99; x > 0; x--)
|
||
|
{
|
||
|
System.out.print(x + " bottles of beer on the wall "
|
||
|
+ x + " bottles of beer\n" // ChangeMe
|
||
|
+ "Take one down, pass it around, " + (x - 1)
|
||
|
+ " bottles of beer on the wall.\n");
|
||
|
}
|
||
|
System.out.print("Go to the store, buy some more,\n"
|
||
|
+ "99 bottles of beer on the wall.\n");
|
||
|
}
|
||
|
}
|