The Plotter executor understands the following four commands:
- penDown(), put the pen down;
- penUp(), lift the pen;
- moveTo(x,y), move to the point (x,y);
- move(Vx,Vy), move by the vector (Vx,Vy).
Write programs for
Plotter that perform assignments 1, 2, and 3.