#include
#include
main(){
double y;
int x,m,i;
printf("y=sin(x) [0
if(y>=0){
m=asin(y)*10;
for(x=1;x
for(;x<31-m;x++)printf(" ");
printf("*\n");}
else{
m=-1*asin(y)*10;
for(i=0;i<32;i++)printf(" ");
for(x=1;x
for(;x<31-m;x++)printf(" ");
printf("*\n",m);
}
}
}
#include
留个名等答案~