Double fun (double x, int n)
{
/* */
/* */
}
The main ()
{
Double x, n.
Printf (" Input x and n: ");
Lf the scanf (" % % lf ", & amp; X, & amp; N);
Printf (" fun (lf) lf, % % %=8.3 lf \ n ", x, n, fun (x, n));
}
CodePudding user response:
This how to also want to explain the fun you want to achieve what the resultsIf there is no requirement, return a double casually, such as the return 0; return x; Return the x * n. Etc.
CodePudding user response:
May let you write what's the problem with this function, the type of parameter errors,CodePudding user response: