// Telelogic DOORS(R) Extension Language (DXL) version of 99 Bottles // Paul Worrall - paul@basilisk.ukfsn.org int i for i in 99:1 by -1 do { print i " bottle" (i == 1 ? "" : "s") " of beer on the wall, " print i " bottle" (i == 1 ? "" : "s") " of beer.\n" print "Take one down and pass it around, " print ((i - 1) == 0 ? "no more" : (i - 1) "") " bottle" (i-1 == 1 ? "" : "s") print " of beer on the wall\n\n" } print "No more bottle of beer on the wall, no more bottles of beer.\n" print "Go to the store and buy some more, 99 bottles of beer on the wall.\n"