#include <math.h>
double sqrt(double x);
#include <stdio.h>
#include <math.h>
int main()
{
double root;
root = sqrt(25);
printf ("the root is %f\n", root);
return 0;
}
./sqrt
the root is 5.000000
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |