Windmill
bottles = 99 :start io = bottles>1 print bottles " bottles of beer on the wall," print bottles " bottles of beer." print "Take one down, pass it around," io = bottles==1 print "1 bottle of beer on the wall," print "1 bottle of beer." print "Take one down, pass it around," print "No bottles of beer on the wall." bottles = bottles-1 halt = bottles==0
Run Code