// Mr. Minich
// Computer Science Using C++
// Ch. 5 Demo Program #5
// January 30, 2000 
// Purpose - to illustrate how to display with fixed notation rather than scientific notation

#include <iostream.h>

int main()
{
        double myDouble = 5000000000;		// a really big value

        cout << "By default, cout displays in scientific notation: " << myDouble << endl;

        cout.setf(ios::fixed);			// every cout after this used fixed notation
        cout << "This is fixed notation: " << myDouble << endl;

	cout << "Even this is in fixed notation: " << 5e9 << endl;

        return 0;
}// end of main