Question: c. Create a sketch that declares a variable called m with the value 18, and creates a canvas that's 121 by 98 with the

c. Create a sketch that declares a variable called m with the

c. Create a sketch that declares a variable called m with the value 18, and creates a canvas that's 121 by 98 with the usual 220 background colour. Use m to draw two triangles that are m pixels from the edge of the canvas. Test your sketch for different values assigned to m and different canvas sizes. M m is 18, 121 by 98 canvas m is 5, 120 by 60 canvas Submit the solution where m is 18 and the canvas is 121 by 98.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!