c++ 自然指数的n次方编程求

c++ 自然指数的n次方编程求

问题描述:

c++自然指数!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

math.h里的exp函数

 #include<iostream>
#include<math.h>
using namespace std;
int main()
{
    cout << exp(3.0) << endl;
}