// octHexDemo.cc  P. Conrad   02/28/2007
// Demonstrate some octal and hex constants

#include <iostream>
using namespace std;

int main()
{
  int x = 10;
  int y = 010;
  int z = 0x10;

  cout << "x = " << x << endl;
  cout << "y = " << y << endl;
  cout << "z = " << z << endl;

  cout << "x (oct) = " << oct << x << endl;
  cout << "x (hex) = " << hex << x << endl;
  cout << "x (dec) = " << dec << x << endl;
  
  return 0;

}

