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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply