
#include <iostream>
#include <iomanip> // this header file is for the setprecision manipulator
using namespace std; // this is a shortcut
// inluding each item in the std
//namespace, just include them
//all
int main()
{
cout << 2002 <<endl;
cout << "In hex " << hex<< 2002 <<endl;
cout.setf(ios::scientific,ios::12345 <<endl;
cout <<987.123456(3) << 987.123456 <<endl;
cout.fill('X');
cout.width(10);
cout << 1234 <<endl;
cout.setf(ios::left,ios::adjustfield);
cout.width(10);
cout << 1234 <<endl;
return 0;
}
