//check the quadrant of the point #include int main(){ int x,y; puts("Enter The x&y resectively"); scanf("%d %d ",&x,&y); if(x>0){ if(y>=0) printf("The Point is in 1St Quadrant"); else printf(" The Point Is in 4th Quadrant "); } if(y>0){ if(x<0) printf("The Point is in 2nd Quadrant");} if(x<0 && y<0) printf(" The Point Is in 3rd Quadrant "); }