C Language
#include<stdio.h> #include<conio.h> void main( ) { int a,b; clrscr( ); printf("Enter Two Numbers = "); scanf("%d%d",&a,&b) if (a>0 && b>0) { printf("Points lie in First Quardent"); } else if(a<0 && b>0) { printf("Points lie in Second Quardent"); } else if(a<0 && b<O) { printf("Points lie in Third Quardent"); } else if(a&t;0 && b<O) { printf("Points lie in the Fourth Quardent"); } getch(); } /*OUTPUT*/ Enter Two Numbers = - 9 - 8 Points lie in Third Quardent