#include #include using namespace std; double euler(int n) { double val = 0; long fact = 1; for(int i=0; i> n; cout << fixed << setprecision(16); cout << euler(n) << endl; return 0; }