问个 格式符 %lf
#include "stdio.h"#include "math.h"
main()
{
double x,s;
printf("input number:\n");
scanf("%lf",&x);
s=sin(x);
printf("sine of %lf is %lf\n",x,s);
system("pause");
return 0;
}
那个%lf是什么意思啊 不要那个l输出结果不一样 详细说下 谢谢~~~~
2011-02-10 12:06
2011-02-10 12:12
2011-02-10 12:13
2011-02-10 13:41