← 返回列表

C库函数 - sqrt()

C库函数 - sqrt() #include <stdio.h> #include <math.h> int main () { printf("Square root of %lf is %lf\n", 4.0, sqrt(4.0) ); printf("Square root of %lf is %lf\n", 5.0, sqrt(5.0) ); return(0); }

C库函数 - sqrt()

#include <stdio.h>

#include <math.h>



int main () {



   printf("Square root of %lf is %lf\n", 4.0, sqrt(4.0) );

   printf("Square root of %lf is %lf\n", 5.0, sqrt(5.0) );



   return(0);

}

打开资源 ↗

交流与评论