<for var="d" from="0" to="1" step="1"> <for var="n" from="99" to="1" step="-1"> <print> n, " bottles of beer on the wall"</print> <print> n, " bottles of beer"</print> <print> "Take one down, and pass it around..."</print> <print> n-1, "bottles of beer on the wall.\n"</print> </for> <for var="n" from="1" to="0" step="-1"> <print> n, " bottle of beer on the wall"</print> <print> n, " bottle of beer"</print> <print> "Take one down, and pass it around..."</print> <print> "No more bottles of beer on the wall.\n"</print> </for> </for> |