Assume that you have created a mechanical arm that can hold a pen. The arm can perform the following tasks
Lower the pen to a piece of paper
Raise the pen from the paper
Move the pen 1 inch along a straight line. (If the pen is lowered, this action draws a 1-inch line from left to right; if the pen is raised, this action just repositions the pen 1 inch to the right.)
Turn 90 degrees to right
Draw a circle that is 1 inch in diameter.
Draw a structured flowchart or write structured pseudocode describing the logic that would cause the arm to draw or write the following:
d. A short word, for example, cat
e. A four-digit number