4 lines
385 B
HTML
4 lines
385 B
HTML
|
<p>Use the same structs as last time. Write a function, which given a pointer to a circle and a position, can say whether or not the point is within the cirlce.</p>
|
||
|
|
||
|
<p>Write your own enum to represent the functions result. The Point is inside the circle, when difference of the x-coordinates squared + the difference of the y coordinates squared is less than the radius squared.</p>
|