使用sqrt() 库函数需要引#include<math.h>头文件,并且sqrt() 有返回值,需要定义一个变量接收可能我讲的不是很明白,不是很理解的话,欢迎私聊我哦
引入头文件 #include <math.h>