求S的值。S=(22/(1*3))*(42/(3*5))*(62/(5*7))*…*(2k)2/((2k-1)*(2k-1)) k的取值为10
int k = 10;
int result = 1;
for (int i = 1; i < k + 1; i++) {
result = (2 * k) * 2 / ((2 * k - 1) * (2 * k - 1));
result *= result;
}
System.out.println(result);
结果接近0