Quiz+4-24

Quiz 4-24:

Write a program that will wait until the touch sensor is touched and travel in a swing turn for 8.31 seconds. No there are not functions in this task and I expect at least two lines of comments.

task main  {  while (SensorValue(Touch1) == 0)  {  motor[motorB] = 0; Loop till the Touch Sensor is Touched  motor[motorC] = 0;  }  motor[motorB] = 50; Now swing turn little bot !!!!  motor[motorC] = 0;  wait1Msec(8310);  }