assignment 6 -
06-17-2016, 02:42 PM
It was very tricky first I could not figure out how to make it count down, I just had the while statement in there finally I added a if else statement and was able to get it to count down until it got to 2. Finally I added an if statement that said if it equaled one to set the value to a string that said 1. Then I struggled with getting it to say bottle and not bottles at the end, but I was able to combine the if and else statements above and on the else statement join it with the word bottles and remove the word bottles from the song, add bottle to the if statement and perfecto. I still could not get rid of the decimal place and it shows 99.0, 98.0 and so on but I am not sure if you even can get rid of it, so I uploaded it. Hopefully the teacher is impressed it took me a few hours to complete.
|