帮忙找错
帮忙找错
#include <stdio.h>
#include <math.h>
int main()
{
float x;
x = log 90;
printf("%f\n", x);
return 0;
}
[解决办法]
#include <stdio.h>
#include <math.h>
int main()
{
double x;
x = log(90);
printf("%lf\n", x);
return 0;
}