#P119. 练20.4 判断点在第几象限
练20.4 判断点在第几象限
Description
Input integers and representing a point on a plane. Determine which quadrant the point is in and output the corresponding result.
Input Format
Input and values representing a coordinate point. The point will not be on the -axis, -axis, or at the origin. All data are within the range of int.
Output Format
Output the corresponding quadrant, using numbers , , , to represent the four quadrants.
Sample
1 11
Related
In following homework: