| |
| META TOPICPARENT |
name="CSC102SylF2022" |
Geometric drawing
Objectives |
| |
- Reinforce reading from the brick
Assignment
- 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 (degree angle)
|
> > |
-
- 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 one block per option
|
> > |
-
- 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
|