这个程序怎么不能运行,我是菜鸟中的菜鸟,请高手指教!
#include <math.h>#include <stdio.h>
void main()
{
doudle x.s;
printf("input numder:\n");
scanf("%lf.&x");
s=sin(x);
printf("sine of %lf is %lf\n.x.s");
}
#include <stdio.h> #include <math.h> void main() { double x,s; printf("input numder:\n"); scanf("%lf",&x); s=sin(x); printf("sine of %lf is %lf\n",x,s); }