ios manipulators scientific() function in C++
The scientific() method of stream manipulators in C++ is used to set the floatfield format flag for the specified str stream. This flag sets the floatfield to scientific. It means that, the floating point values will be written in scientific notations. Syntax: ios_base& scientific (ios_base&