#include <math.h>
double exp(double x);
#include <stdio.h>
#include <math.h>
int main()
{
printf ("e = %f\n", exp(1));
printf ("e^10 = %f\n", exp(10));
return 0;
}
./exp
e = 2.718282
e^10 = 22026.465795
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |