Page 1 of 1

Write a program that outputs all 99 stanzas of the “Ninety-Nine Bottles of Beer on the Wall” song. Your program should p

Posted: Sun Jul 10, 2022 11:25 am
by answerhappygod
Write a program that outputs all 99 stanzas of the “Ninety-NineBottles of Beer on the Wall” song. Your program should print thenumber of bottles in English, not as a number:
Ninety-nine bottles of beer on the wall, Ninety-nine bottles ofbeer,Take one down, pass it around, Ninety-eight bottles of beer on thewall. ...
One bottle of beer on the wall,One bottle of beer,Take one down, pass it around,Zero bottles of beer on the wall.Your program should not use ninety-nine different outputstatements!
https://www.answers.com/homework-help/que ... 886585e30a
I really like this code but I need it to work without askinguser where to start. I just need the program to give the output ofall ninety-nine lines when I run code.