The_Law

Untitled

Oct 2nd, 2018
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int
  4. main(void)
  5. {
  6.     double x, y;
  7.     scanf("%lf%lf", &x, &y);
  8.     printf("%d\n", 1 <= x && x <= 7 && 2 <= y && y <= 5 && y <= 10 - x);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment