Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main ()
- {
- int x , y ;
- printf ("Indique o ponto (x,y): ") ;
- scanf ("%d %d" , &x , &y) ;
- if (x > 0 && y > 0) printf ("1º Q !\n") ;
- if (x < 0 && y > 0) printf ("2º Q !\n") ;
- if (x < 0 && y < 0) printf ("3º Q !\n") ;
- if (x > 0 && y < 0) printf ("4º Q !\n") ;
- return 0 ;
- }
Advertisement
Add Comment
Please, Sign In to add comment