Ask your own question, for FREE!
Puzzles & Challenges 14 Online
OBubblzO:

what is this code do? var theNumber = 0; fill(0, 0, 0); textSize(30); text("Analysis of: " + theNumber, 10, 36); text("It's positive", 10, 90); text("It's negative", 10, 140); text("It's zero", 10, 190); noFill(); if ( 1 > theNumber) { rect(5, 60, 200, 40); } if(-1 < theNumber) { rect(5, 110, 200, 40); } if ( 1 = theNumber) { rect(5, 160, 200, 40); }

fwval:

e

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!