用math.h里封装好的函数,具体如下: 求平方根:double sqrt(double x) 例: #include math.h #include stdio.h int main(void) { double x = 4.0, result; result = sqrt(x); printf("The square root of %lf is %lf ", x, result); re...