#include <iostream> #include <cmath> using namespace std; // driver program int main() { double x = 10; cout << "exp(x) = " << exp(x) << endl; // e^x where e is euler's number return 0; }