← 返回列表

C库函数 pow()

C库函数 pow() #include <stdio.h> #include <math.h> int main () { printf("Value 8.0 ^ 3 = %lf\n", pow(8.0, 3)); printf("Value 3.05 ^ 1.98 = %lf", pow(3.05, 1.98)); return(0); }

C库函数 pow()

#include <stdio.h>

#include <math.h>



int main () {

   printf("Value 8.0 ^ 3 = %lf\n", pow(8.0, 3));

   printf("Value 3.05 ^ 1.98 = %lf", pow(3.05, 1.98));



   return(0);

}

打开资源 ↗

交流与评论