Maszi

Untitled

Oct 13th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. float x, y;
  2.     printf("Podaj x ");
  3.     scanf("%f", &x);
  4.     printf("Podaj y ");
  5.     scanf("%f", &y);
  6.     if ((x>=-1 && x<=1) ||(y>=-1&&y<=1)){
  7.         printf("Punkt nalezy");
  8.     } else {
  9.         printf("Punkt nie nalezy");
  10.     }
Add Comment
Please, Sign In to add comment