#include "stdio.h" #include "math.h" #include "string.h" void main() { int i,j,k; int a,b,c; int t; scanf("%d%d%d",&a,&b,&c); if(a>b) {t=a;a=b;b=t;} if(b>c) {t=b;b=c;c=t;} printf("%d",c); }
Double click to view unformatted code.