Question: I have the following Makecode for the microbit. I want the code to play a song over and over if I press button A (until

I have the following Makecode for the microbit. I want the code to play a song over and over if I press button A (until I press button B) and show a heart over and over if I press button B (until I press button A). Does this code accomplish that? If so, explain why. If not, propose a solution by changing the code below (either take a screenshot and modify it or redo the code at makecode.microbit.org) VUCIC LUCULTURCUUUURUUU1b/ forever if choice then start melody dadadum repeating once else show icon + on button A pressed on button B pressed set choice to 0 set choice to 1 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
