View the step-by-step solution to:

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

Top Answer

A circle moving from the left edge (halfway down) to the center of the... View the full answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online