Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int A,B,C,D;
- scanf("%d %d %d %d ",&A,&B,&C,&D);
- if((B>C && D>A) && (C+D>A+B) && (C>0 && D>0)&& (A%2 == 0))
- {
- printf("Valores aceitos\n");
- }
- else
- printf("Valores nao aceitos\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement