I need to write a program to get a user input coordinate then check if it falls within the circle. (note: along the circle is consider a circle.)
My initial though was to compare the coords value of the circle( eg. if 3<x<9 and compare x also then is fall is the square.) then i am left with the diagram on the right of the attach pic 4 little sides.
my solution might be wrong coz the method of solving worth 2 marks only which i assume would be easy. the rest of marks is programming.
Anyone has a better solution or help?