SHARE
TWEET

Untitled

a guest Jun 25th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. //tasin_raw
  3. int main()
  4. {
  5.     int a1,a2,a3,a4,c=0,d=0,e=0;
  6.     scanf("%d %d %d %d",&a1,&a2,&a3,&a4);
  7.     if(a1<a2)
  8.     c=a2;
  9.     else
  10.     c=a1;
  11.    
  12.     if(c<a3)
  13.     d=a3;
  14.     else
  15.     d=c;
  16.    
  17.     if(d<a4)
  18.     e=a4;
  19.     else
  20.     e=d;
  21.    
  22.     printf("%d\n",e);
  23.    
  24.  
  25.     return 0;
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top