3
answers
0
watching
304
views
13 Oct 2018

18. Fill in the blank so that this function returns true if the circle at xl, yl, with radius rl, has collided with the circle at x2, y2, with radius r2. boolean collided (int xl, int yi, int ri, int x2, int y2, int r2) | return A. dist (xl, yl, x2, y2) <= rl+r2 B. abs (x1-x2) >= rl+r2 && abs (yl-y2) <= rl+r2 C. A and B will both work D. Neither A nor B work but one would be correct if the <= was > E. Neither A nor B work but both would be correct if the <= was >

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Sixta Kovacek
Sixta KovacekLv2
15 Oct 2018
Already have an account? Log in
Start filling in the gaps now
Log in