public static int min(int a, int b) {
        //write your code here
        int m;
        if (a>b)
          m = a;
        else
         //  (a>b)
          m = b;

        return m;