/*
    Integermath program to illustrate how to do do simple mathematics

    See Nyhoff P67-70
*/

#include <iostream> 
using namespace std;

int main()         
{                  
   int sum=2+2;
   cout << "sum=" << sum << endl;
   
   int subtraction=1-5;
   cout << "subtraction=" << subtraction << endl;

   int product=2*3;
   cout << "product=" << product << endl;

   int division=3/4;                          // Surprised?
   cout << "division=" << division << endl;
   
   return 0;                        
}                                   
