public class Test {
public static void main(String[] args) {
System.out.print("100.1*2 = ");
System.out.println(100.1*2);
System.out.print("100.1*3 = ");
System.out.println(100.1*3);
}
}
输出结果为:
100.1*2 = 200.2
100.1*3 = 300.29999999999995
添加回答
举报
0/150
提交
取消