刚学 帮忙看看这个简单程序那里有问题?

2025-01-04 10:05:17
推荐回答(1个)
回答1:

#include

#include

void main()

{

 double x, s;

 printf("input number:\n");

 scanf("%lf",&x);        '&打成了中文标点

 s=sin(x);

 printf("sine of %lf is %lf\n",x ,s);

}