// D version of 99 Bottles of beer (Bottles.d) // (http://www.digitalmars.com/d/index.html). // Philipp Winterberg, http://www.winterbergs.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; }