aboutsummaryrefslogtreecommitdiff
path: root/t/t4018/custom3-alternation-in-pattern
blob: 5f3769c64fc3434d79077646459fe9b61c6ea50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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");
	}
}