public static int min(int a, int b) { //write your code here int s; if (a < b) s = a; else s = b; }