This is a simple problem to test your understanding of 2D arrays.
You could approach it in the standard way, like this (porting the code from Python to C++ is left as an exercise to the reader ;) ):
def multi_table_(n):
A = [[0 for i in xrange(0, n)] for j in xrange(0,n)]
for i in...