mirror of
https://github.com/git/git.git
synced 2024-11-16 06:03:44 +01:00
18 lines
426 B
Text
18 lines
426 B
Text
|
public class Beer
|
||
|
{
|
||
|
int special;
|
||
|
public static void main(String RIGHT[])
|
||
|
{
|
||
|
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");
|
||
|
}
|
||
|
}
|