摘要: #include #include int main() { double x; double y; scanf("%lf",&x); if(x>=0) y=sqrt(x); else y=pow(x+1,2)+2*x+1/x; printf("f(x)=%f",y); return 0; } #in... 阅读全文
posted @ 2016-09-29 19:04 BGD160809321 阅读(181) 评论(10) 推荐(0) 编辑