Coordinates of the given point
let PX = 1 , PY = 4 ; let ans = getQuadrant ( X , Y , R , PX , PY ) ; if ( ans == - 1 ) document . write ( " " + " " ) ; else if ( ans == 0 ) document . write ( " " + " " ) ; else document . write ( ans + " " + " " ) ;