代码片段
package one;
public class T_7 {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println(4.0 * (1.0 - 1.0 / 3.0 + 1.0 / 5.0 - 1.0 / 7.0 + 1.0 / 9.0
- 1.0 / 11.0));
System.out.println(4.0 * (1.0 - 1.0 / 3.0 + 1.0 / 5.0 - 1.0 / 7.0 + 1.0 / 9.0
- 1.0 / 11.0 + 1.0 / 13.0));
}
}