Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  test1
Language: C/C++
Code:
#include <stdio.h>
int main(int argc, char const *argv[])
{
     int x, y;
     printf("Enter point x: ");
     scanf("%d",x);
     printf("nEnter point y: ");
     scanf("%d", y);
     if ((x>0)&&(y>0)) {
          printf("nPoint A(%d,%d) lays in the 1st quater.n", x, y);
     } 
     else {
          printf("nPoint A(%d,%d) doesn't lay in the 1st quater.n", x, y);
     }

     return 0;
}
          
Comments: