logo

Crowdly

Browser

Add to Chrome

A student writes the following code. What appears on the canvas? let textposit...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

A student writes the following code. What appears on the canvas?

let textposition = 50;

function setup() {

  createCanvas(500, 500);

  background(255, 255, 0);

  for (let a = 0; a < 5; a++) {

    textSize(32);

    fill(0, 0, 0);

    text(a, textposition, textposition);

    textposition = textposition + 75;

  }

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on elearning.aua.am?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome