1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main() 5 { 6 int a ,b,c,max1,max ; 7 scanf("%d%d%d",&a,&b,&c); 8 max1 = (a>b)? a:b; 9 max = (c>max1)? c: max1; 10 printf("max =%d ",max); 11 return 0; 12 }