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
zeng_建军
慕粉1352413381
摩诃迦叶
相关分类