Scheme Exercises

back to exercise list       previous     next

Group:     Exercise: 42/48 

Which Quadrant:  Determine the quadrant of the specified point.

(whichQuadrant x y)
Any point on an axis will not be in a quadrant, so return 0.
Otherwise, return 1,2,3 or 4 based on which quadrant the point x,y would be on.