例输入两个数,求它们的和、差、积、商。 maino float x, y; float add(float, float), min(float, float), mul(float, float), div (float, float); printf(" Please input two numbers scanf(%of,%of, &x, &y); printf(%of+%f=%fn"x, y,add(x, y)); printf( %of- %f%fn",x, y, min(x, y)); printf(%of%f=%fn,x,y, mul(x, y)) printf(%of/%f=%fn", x, y, div(x, y));例 输入两个数,求它们的和、差、积、商。 main() { float x,y; float add(float,float),min(float,float),mul(float,float),div(float,float); printf("Please input two numbers:"); scanf("%f,%f",&x,&y); printf("%f+%f=%f\n",x,y,add(x,y)); printf("%f-%f=%f\n",x,y,min(x,y)); printf("%f*%f=%f\n",x,y,mul(x,y)); printf("%f/%f=%f\n",x,y,div(x,y)); }