#include #include #include using namespace std;int main( ) { ios_base::fmtflags flags = cout.flags( ); double pi = 3.14285714; cout << "pi = " << setprecision(5) << pi << '\n'; cout.flags(flags);} pi = 3.1429