啊哈磊_编程从这里起步
标题:
求解释
[打印本页]
作者:
妖孽雪魄
时间:
2013-3-28 10:02
标题:
求解释
我今天学的小数的加法 按照教程的5.2+3.1为什么结果是8.299999
作者:
rosynirvana
时间:
2013-3-28 10:02
http://bbs.ahalei.com/thread-1484-1-1.html
作者:
gangzitangshan
时间:
2013-3-28 10:12
最好是贴上你的代码
作者:
妖孽雪魄
时间:
2013-3-28 10:17
#include <stdio.h>
#include <stdlib.h>
int main()
{
float a,b,c;
a=5.2;
b=3.1;
c=a+b;
system("color 15");
printf("%f",c);
system("pause");
return 0;
}
作者:
ololokk
时间:
2013-3-28 19:05
我也是, 为什么
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2