Create a clean program that will "draw" a 3, 4, or 5 sided figure (with even sides) based on the button from the brick.
If the left button is pressed, draw a triangle (60 degree angle)
If the middle button is pressed, draw a square (90 degree angle)
If the right button is pressed, draw a five sided polygon (approximately 108 degree angle)
Additional requirements
You should use a count controlled loop
You must use at least two variables.
Inside the selection you can only have variables blocks (only one is optimal but not required). No repetition or arithmetic blocks inside the selection
You may only have two instances of motor blocks
Submission instructions
Due date is found on Canvas
Each person should create a pdf document that contains the following information
Your name
Your partner's name
A brief description of what you did
A brief description of what your partner did
How your team improved over any mistakes made last time
Indicate which hints (if any) your team used
How well you achieve each objective
Submission:
Team member A submits the team's code and his/her pdf document in one zip folder.
Team member B submits his/her pdf document (does not need to be zip'ed)
Hints
The same thing about accuracy in the first lab applies to this one! There is not objective about being accurate!
Questions about the math should be asked in class. This is not one of the objectives of the assignment! So ask if you need some help on the arithmetic!
Challenges
Make your program very accurate
Have your program move forward and then draw the figure based on a color seen. Let the color pick the number of sides.