downto
method to print out the strings "99 bottles of beer on the wall"
down to "1 bottle of beer on the wall"
. (Take care to get the \( n=1 \) case right, so that "bottle"
is singular.)
Get free access to all 10 Learn Enough courses (including the Ruby on Rails Tutorial) for 7 days!
We require a credit card for security purposes, but it will not be charged during the trial period. After 7 days, you will be enrolled automatically in the monthly All Access subscription.
BUT you can cancel any time and still get the rest of the 7 days for free!
All Learn Enough tutorials come with a 60-day 100% money-back guarantee.