• anonymous
program to find that a given point lies in/on/outside the circle in c++? :)
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • katieb
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
Is the radius of the circle and its mid point coordinates available directly??
  • anonymous I'm assuming you know the basic math dealing with circles. Wrote it in java so you have to solve it yourself, but any problems you had should be solved. Didn't keep many comments, but I made sure to explain how to input the equation. The multidimensional array "pointsToTest" is simply a list of two-tuples to plug into the function I wrote and see what it spits out.

Looking for something else?

Not the answer you are looking for? Search for more explanations.