public class Bottles { public static void main(String args[]) { for (int b = 99; b > 0; b = b - 1) { System.out.printf( """ %d bottle%s of beer on the wall %d bottle%s of beer Take one down, pass it around %d bottle%s of beer on the wall. """, b, (b==1)?"":"s", b, (b==1)?"":"s", b - 1, (b==2)?"":"s" ); } System.out.println("Go to the Store, buy some more!"); } }