/*********************************************************************



  Filename:  manip.cpp

  Section:   16.1   Formatted Output and iomanip.h

  Compiler:  Borland C++     Version 5.0       Summer 1996

  C++ Distilled: Descriptions, Prescriptions and Style  By Ira Pohl



*********************************************************************/



#include  



int main()

{

   int  i = 10, j = 16, k = 24;

   cout << i << '\t' << j << '\t' << k << endl;

   cout << oct << i << '\t' << j << '\t' << k << endl;

   cout << hex << i << '\t' << j << '\t' << k << endl;

   cout << "Enter 3 integers, e.g. 11 11 12a" << endl;

   cin >> i >> hex >> j >> k;

   cout << dec << i << '\t' << j << '\t' << k << endl;

}