#include "Myro.h" #include using namespace std; int main () { double Ltime; // time for length double Wtime; // time for width cout << "Enter length time = "; cin >> Ltime; cout << "Enter width time = "; cin >> Wtime; connect(); robot.forward(0.5,Ltime); robot.turnRight(0.5,0.5); robot.forward(0.5,Wtime); robot.turnRight(0.5,0.5); robot.forward(0.5,Ltime); robot.turnRight(0.5,0.5); robot.forward(0.5,Wtime); robot.turnRight(0.5,0.5); robot.stop(); disconnect(); }