C++在头文件
#include
#include
void main()
{
double amount = 22.0/7;
cout <
cout <
cout <
<
cout <
运行结果为:
3.14286
3
3
3.1
3.14
3.143
3.14285714
3.14285714e+00
#include
然后
cout<