Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2. int a,b,c,d,e;
  3. int main()
  4. {
  5. printf("vvedit 4 chisla\n");
  6. scanf("%d%d%d%d",&a,&b,&c,&d);
  7. if ((a)>(b,c,d))
  8. e=a;
  9. else if ((b)>(a,c,d))
  10. e=b;
  11. else if ((c)>(b,a,d))
  12. e=c;
  13. else if ((d)>(b,c,a))
  14. e=d;
  15. if(e==0)
  16. e=a;
  17.  
  18. printf("%d",e);
  19. printf("=Bolshee chislo");
  20.  
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement