Double fun (double x, double y) {double z;
Z=SQRT (x) + SQRT (y); Return the z;
}
Int main ()
{
Double x, y, z;
Lf the scanf (" % % lf ", & amp; X, & amp; Y); Z=fun (x, y); Printf (" % lf ", z); }
CodePudding user response:
Should be yes, you may lose Chinese commaCodePudding user response:
May also input x and y, did not enter a comma between
The scanf yourself, then add the printf (" % % lf, lf \ n ", x, y); Look at the output of the input is the same with you