// D version of 99 Bottles of beer (Bottles.d) // Philipp Winterberg, http://www.philipp-winterberg.de int main() { for (int b = 99; b > 0; b--) { printf("%d bottle(s) of beer on the wall,\n", b); printf("%d bottle(s) of beer.\n", b); printf("Take one down, pass it around,\n"); printf("%d bottle(s) of beer on the wall.\n\n", (b-1)); } return 0; }