Answered You can hire a professional tutor to get the answer.

QUESTION

ank so this program shows a cicle moving from the left edge (halfway down) to the center of the display and then diagonally to the lower right corner?...

What expression can you put in the blank so this program shows a cicle moving from the left edge (halfway down) to the center of the display and then diagonally to the lower right corner? Check ALL that apply.

int ballX,ballY=50; void draw() { background(120); ballX = ballX + 1; ballY = ballY + ________________; ellipse(ballX, ballY, 20, 20); }

A. frameCount/50 B. frameCount%50 C. (1-(ballY/50)) D. (1-(frameCount/100)) E. ballX/50

I know A is right but why E is also right?

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question