mhdew

nadim_6

Aug 13th, 2021 (edited)
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main(){
  4.  
  5.     int a,b,c;
  6.     scanf("%d %d %d", &a,&b,&c);
  7.  
  8.     if(a>=b && a>=c){
  9.         printf("%d\n", a);
  10.     }
  11.     else if( b>=a && b>=c){
  12.         printf("%d\n", b);
  13.     }
  14.     else{
  15.         printf("%d\n", c);
  16.     }
  17.  
  18.     return 0;
  19. }
Add Comment
Please, Sign In to add comment