ECE 175 Assignment 5
(Not rated)
(Not rated)
// write a c program that asks the use to
a) enter the coordinates (x1,y1) of the center of a circle with radious 1.
b) enter the coordinates (x2,y2) of a point in the catesian plane
c)prints whether point in (x2,y2) is inside, on the boundary, or outside the circle.
Test cases: (x1,y1) :(0,0) (0,0) (1,1) (1,1)
(x2,y2) :(1,0) (0.5,0.5) (1,0) (-5,5)
12 years ago
Solutions
NOT RATED
Purchase the answer to view it
- coordincircle_cpp.c