In pseudocode, declare a 2-dimensional array of integers that would store the multiplication table of up to 10x10 (elements total need to be stored). Use a nested repetition loop of your choice to store each of the values. Be sure to walk through your code and make sure it is properly calculating each of the elements.
Using the C++/ Java for answer.