C++l里数据转化问题,求解答!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++#include <iomanip>
#include <iostream>
using namespace std;
int main()
{
cout<<26/3+34%3+2.5<<endl;
return 0;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++
为何会得出结论是:11.5.而不是12.1667;C++编译系统不是将数据转换成double型数据吗?并且系统默认应该是
六位啊!