简单的分段函数

简单的分段函数 在这里插入代码片 #include <stdio.h> #include <math.h> int main() { double x,y; scanf("%lf",&x); if(x<0) y=sqrt(-x); if(x>=0&&10>x) y=2pow(x,5)-3; if(x>=10) y=3floor(x)-11; printf("%.2lf\n",y); return
相关文章
相关标签/搜索