Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int a,b,c,d,e;
- int main()
- {
- printf("vvedit 4 chisla\n");
- scanf("%d%d%d%d",&a,&b,&c,&d);
- if ((a)>(b,c,d))
- e=a;
- else if ((b)>(a,c,d))
- e=b;
- else if ((c)>(b,a,d))
- e=c;
- else if ((d)>(b,c,a))
- e=d;
- if(e==0)
- e=a;
- printf("%d",e);
- printf("=Bolshee chislo");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement