Instructions

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

Help us find the problems in these programs!

4. Bug FOUR

The task is to create a program that tells the GoPiGo to drive forward for a variety of distances, take a light sensor reading, turn a random number of degrees. The GoPiGo should repeat this process 10 times.

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. **Build the program in ADVANCED BLOXTER. **