#ifndef PRINT_H #define PRINT_H #include #include //for the i/o manipuilator setprecision using namespace std; template void print(const T& t) { cout << t << "\n"; } void print(double d) { cout << fixed << setprecision(15) << d << "\n"; } #endif