#include #include #include using namespace std; const int MAX = 20; int main() { cout << fixed << setprecision(5); cout << setw(4) << "N" << setw(12) << "ln(n)" << setw(12) << "root(N)" << setw(6) << "N^2" << setw(7) << "N^3" << setw(10) << "2^N" << setw(18) << "e^N" << endl; cout << setfill('#') << setw(69) << "#" << endl << setfill(' '); for (int i = 1; i <= MAX; i++) cout << setw(4) << i << setw(12) << log(i) << setw(12) << sqrt(i) << setprecision(0) << setw(6) << i*i << setw(7) << pow(i,3.0) << setw(10) << pow(2.0,i) << setprecision(5) << setw(18) << exp(i) << endl; return 0; }