logo

Crowdly

Browser

Add to Chrome

The code below has a mistake. Which option correctly identifies it? function s...

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

The code below has a mistake. Which option correctly identifies it?

function setup() {

  createCanvas(400, 400);

  background(220);

  showAverage(0, 0);

}

function showAverage(total, count) {

  var average = total / count;

  text(average, width/2, height/2);

}

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