展开全部#include using namespace std;class point { public: point(int xx=0,int yy=0):x(xx),y(yy){};point operator+(point&ptr) { return point(x+ptr.x,y+ptr.y);} point operator+(int m) { return point(x+m,y+m...
include int main(){ double x;printf("x=");scanf("%lf",&x);if(x)printf("y=.2lf\n",x+10);else if(x>0)printf("y=.2lf\n",1+x*x);else printf("y=0.0\n");return 0;}