Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int A,B,C,D;
  5. scanf("%d %d %d %d ",&A,&B,&C,&D);
  6. if((B>C && D>A) && (C+D>A+B) && (C>0 && D>0)&& (A%2 == 0))
  7. {
  8. printf("Valores aceitos\n");
  9. }
  10. else
  11. printf("Valores nao aceitos\n");
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement