To add 0.01+0.02+...+1.00,what order should you use to add the numbers to get better accuracy?
A add 0.01,0.02,...,1.00 in this order to a sum variable whose initial value is 0.
B add 1.00,0.99,...,0.02,0.01 in this order to a sum variable whose initial value is 0.
A add 0.01,0.02,...,1.00 in this order to a sum variable whose initial value is 0.
B add 1.00,0.99,...,0.02,0.01 in this order to a sum variable whose initial value is 0.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货