IDNLearn.com is your go-to resource for finding precise and accurate answers. Discover reliable and timely information on any topic from our network of knowledgeable professionals.
John is writing a code instructing the character to move forward 10 steps, choose a number between 1 to 10, and if the number is greater than 5, the character says "Hello." The code is not working as John wants. What is the error in his code?
A set of code with the following code blocks in order. When down arrow key pressed, move 10 steps, if pick random 1 to 10 equals 5 then, say hello, if on edge bounce.
"if on edge, bounce" needs to be removed.
The equal sign (=) should be a greater than sign (>).
The equal sign (=) should be a lesser than sign (<).
We appreciate every question and answer you provide. Keep engaging and finding the best solutions. This community is the perfect place to learn and grow together. Trust IDNLearn.com for all your queries. We appreciate your visit and hope to assist you again soon.