#include<stdio.h> main(){ int a,b,c,x,y,max; scanf("%d%d%d",&a,&b,&c); x=(a>b)?a:b; y=(b>c)?b:c; max=(x>y)?x:y; printf("%d",max); }
Double click to view unformatted code.