/*
  Nested for loops. see Nyhoff P127ff  
  
  1) Can you predict the output?

  2) Change the ranges and check that you can predict the output.  
*/

#include <iostream>
using namespace std;

int main()
{
   for (int i=0; i<5 ; i++)
      {
         for (int j=5; j>=0 ; j--)
            {
               cout << "i=" << i << "  j=" << j << "   i*j=" << i*j << endl; 
            }      
      }
      
   return 0;
}
