public static int min(int a, int b, int c) { int q; if (a <= b) q = a; else q = b; if else (q <= c) return q; else return c;