#include
main()
{
float x, y;
printf("please input coordinate value(like x,y):");
scanf("%f,%f", &x, &y);
if( x == 0 && y == 0 ) printf("(%f,%f) is on the original point.\n", x, y);
else if( x == 0 ) printf("(%f,%f) is on the y axis.\n", x, y);
else if( y == 0 ) printf("(%f,%f) is on the x axis.\n", x, y);
else if( x > 0 && y > 0 ) printf("(%f,%f) is in quadrant I.\n", x, y);
else if( x > 0 && y < 0 ) printf("(%f,%f) is in quadrant IV.\n", x, y);
else if( x < 0 && y > 0 ) printf("(%f,%f) is in quadrant II.\n", x, y);
else if( x < 0 && y < 0 ) printf("(%f,%f) is in quadrant III.\n", x, y);
}