Question: I already have the code for this question in C which I have posted right the image of the question. This question have to be

I already have the code for this question in C which I have posted right the image of the question. This question have to be solved in C and not in C++. I just couldn't get the code working, can you please figure out why this code isn't working for this following question:

I already have the code for this question in C which I

have posted right the image of the question. This question have tobe solved in C and not in C++. I just couldn't get

the code working, can you please figure out why this code isn't

working for this following question: Write a program that outputs all 99

stanzas of the "Ninety Nine Bottles of Beer on the Wall song.

Write a program that outputs all 99 stanzas of the "Ninety Nine Bottles of Beer on the Wall song. Your pro gram should print the number of bottles in English, not as anumber. For example: Ninety nine bottles of beer on the wall Ninety nine bottles of beer, Take one down, pass it around Ninety eight bottles of beer on the wall 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 o utput statements! Hint: Write a function that takes as input an integer between 0 and 99 and outputs that value in English Use / and% to extract the tens and the ones digit so you know what number to output in English Hint: You may need to test specifically for numbers such as 0, 10-19

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!