Coordinates of the given point
int PX = 1 , PY = 4 ; int ans = getQuadrant ( X , Y , R , PX , PY ) ; if ( ans == - 1 ) Console . WriteLine ( " Lies ▁ Outside " + " ▁ the ▁ circle " ) ; else if ( ans == 0 ) Console . WriteLine ( " Coincides ▁ " + " with ▁ centre " ) ; else Console . WriteLine ( ans + " ▁ Quadrant " ) ; } }