1 #include <stdio.h>
2 int main()3 {
4 printf("%f\n",3.14);
5 printf("%f\n",-12.2);
6 getchar();
7 return 0;
8 }
输出浮点型常量
最新推荐文章于 2024-09-06 14:41:46 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
1 #include <stdio.h>
2 int main()3 {
4 printf("%f\n",3.14);
5 printf("%f\n",-12.2);
6 getchar();
7 return 0;
8 }