Answer: It is not working because it is missing the code needed to turn right.
Sentence :The robot would move forward two squares and would stay stuck there because it can not move forward nor turn left. You would need to add code for the robot to be able to turn right so that the robot can reach the goal
Answer:
It's simply a software that runs a computer's basic tasks, or functions, such as scheduling, running applications, and controlling peripherals.
Full question attached
Answer and Explanation:
1. There’s need to ask for help and advice from people who have the
knowledge and skills in making a simple electrical gadget.
2. Adapter is used to plug appliances that are far from the main power source.
3. Do not touch the metal pipes while you are doing electrical repairs.
4. Shut off the power at the main switch or circuit breaker and unplug the equipment when working on electricity.
5. Pliers are tools used to grip, pull or cut electric wires.
From the above, we have corrected some of the errors that could be made in everyday home appliances or home electricity. In number 4, it is also worthy of note that shutting off power at the main switch will only require emergency situations otherwise we need only shut off the one for the problem circuit and leave the rest.
Answer:
BEGIN
INPUT N
IF N>0 AND N<10 THEN
OUTPUT "blue"
ELSE
IF N>10 AND N<20 THEN
OUTPUT "red"
ELSE
IF N>20 AND N<30 THEN
OUTPUT "green"
ELSE
OUTPUT "It is not a correct color option"
ENDIF
END.
Explanation: