Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int a,b,c,d,E,F;
- scanf("%d%d%d%d",&a,&b,&c,&d);
- E=c+d;
- F=a+b;
- if(b>c)
- {
- if(E>F)
- {
- if(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