Question: 2 . Make an array of tree positions Declare a variable called ` trees _ x ` In ` setup ` , initialise it with

2. Make an array of tree positions
Declare a variable called `trees_x`
In `setup`, initialise it with an array of numbers.
Each number should represent the x-position 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 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 Databases Questions!