Question: c . Write a program to make the simulated robot trace out a shape like that shown below, E : which looks rather like a
c Write a program to make the simulated robot trace out a shape like that shown below, :
which looks rather like a hash symbol with a closed loop on each corner, or a square
with rounded additions external to each corner. The exact size is not important.
Your program should use named constants where appropriate and include comments to
explain how your program operates. Run your code using the following simulator setup
magic:
simmagicpreloaded autorun Cp b EmptyMap x y
By using the simmagicpreloaded magic, you should not need to import any
packages.
Copy your program code as text into your TMA document.
Include in your TMA document a screenshot showing the trace of the robot's movement.
Your screenshot should show:
your program, with the text displayed at a readable size
the behaviour of the simulator, as recorded by running your program.
If you cannot capture a screenshot then you should submit a short, written description of
what the simulator did when you ran your program.
Write the code for DEV
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
