What expression can you put in the blank so this program


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

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: What expression can you put in the blank so this program
Reference No:- TGS02783488

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)