int k; if(a < b && a < c) k=a; if (b < a && b < c) k=b; else k=c; return k;