Northeastern University Ten Green Bottles Song Summary
Description
Using the song 10 green bottles display the lines There are [num] green bottles hanging on the wall, [num] green bottles hanging on the wall, and if one green bottle should accidentally fall, then ask the question how many green bottles will be hanging on the wall? If the user answers correctly, display the message There will be [num] green bottles hanging on the wall. If they answer incorrectly display the message No, try again until they get it right. When the number of green bottles gets down to to 0 , display the message There are no more green bottles hanging on the wall.
Provide a summary at the end to say how many times the user got the answer correct and how many times they got it wrong.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."