Listing 2

      for(int cCnt = 0;cCnt < colLim;cCnt = cCnt + 1){
        cout << rCnt * cCnt << " ";
      }//end inner loop

      cout << endl;
    }//end outer loop

  }//end doSomething function

Listing 2