鱼C论坛's Archiver
论坛
›
新手乐园
› EX4.5 %m.nf
我爱橙
发表于 2022-4-9 22:30:38
EX4.5 %m.nf
#include <stdio.h>
int main()
{
float a = 1234.567,b = 55.32;
printf("a = %4.2f, b = %5.1f\n", a,b);
return 0;
}
输出结果是a = 1234.57, b = 55.3
页:
[1]
查看完整版本:
EX4.5 %m.nf