分段函数求值

#include <stdio.h> int main() {     double x, y;     while(scanf("%lf",&x)!=EOF)     {         if(x > 0)         {             y = x * x + 1;         }         else if(x < 0)         {             y =
相关文章
相关标签/搜索