Instructions

The programs below do not work as intended. Your job is to find and fix the bug(s).

Bug THREE

Your task is to create a program that uses a random number generator to determine the movement and LED "eye" color on the GoPiGo. If the integer is 5 or less, the LED eyes will turn blue and the GoPiGo will drive forward. If the integer is higher than 5, the GoPiGo will drive backwards and the LED "eyes" will turn red.

Look at the program below. If this program is run, what will the robot do? Connect to your GoPiGo and recreate the program to check your answer.