Question: 2 . Make an array of tree positions Declare a variable called ` trees _ x ` In ` setup ` , initialise it with
Make an array of tree positions
Declare a variable called treesx
In setup initialise it with an array of numbers.
Each number should represent the xposition at which a tree will be drawn on the canvas.
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
