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