π值为啥末尾进3只取6位
#include<stdio.h>
#define PI 3.1415926
int main()
{
printf("圆的圆周率π=%d\n",PI);
return 0;
}
运行结果; 圆的圆周率π=3.141593
#include<stdio.h>
#define PI 3.1415926
int main()
{
printf("圆的圆周率π=%d\n",PI);
return 0;
}
运行结果; 圆的圆周率π=3.141593
2018-06-13
举报