At Westonci.ca, we make it easy to get the answers you need from a community of informed and experienced contributors. Join our platform to connect with experts ready to provide accurate answers to your questions in various fields. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

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 (<).

The pick random field should be from 0 to 10.