double log10(double x);
#include <stdio.h> #include <math.h> int main() { double m = 40; //為變數賦初值 double n = log10(m); //求以10為底的引數40的對數 printf("%lfn", n); return 0; }