捌玖网络工作室's Archiver
捌玖网络工作室
»
网页编程
» C语言编程2
zw2004
发表于 2008-1-21 16:46
C语言编程2
#include "stdio.h"
K*j XG6P
#include "math.h"
/So7qeU
main()
/`C%jTt+y q
{
#drtg \ [x
double x,s;
gZco#Y
printf("input number:\n");
^8D~c#W
scanf("%lf",&x);
3c,o dmI5D!O"y
s=sin(x);
Q!`H6? GnRiVR
printf("sine of %lf is %lf\n",x,s);
*x9}1h\SY-w%T"t;k!Nm
}
&KZ&];za!B8|