Thread: Bottles of Pop?
View Single Post
Bottles Of Pop
Old
mandapanda625
Junior Member
 
Status: Offline
Posts: 3
Join Date: Jun 2020
Default Bottles Of Pop - 07-06-2020, 07:38 AM

I wonder if in this case you could use recursion. You can keep calling the same method as many times as needed until the task is completed. You wouldn't have to use the loop method and "count" how many bottles of pop are on the wall. I'm not the best at this but its just a thought. Maybe you can set it to recall that method multiple times until the song is over. Hopefully this helps, if it makes sense?
   
Reply With Quote