public class S2 { public static void main(String[] args) { int n = 3; int m = 4; System.out.format("%.5f", cal(n, m)); } private static double cal(int n, int m) { if (n >= 1 && m == 0) { return 1; } if (n &...