using namespace std;

int main()

{

vector<double> row(3, 0);

vector<vector<double> > table(3, row);

printVectorOfVector(table);

Fill in a 2 dimension 3x3 array with odd numbers. The display shows the array as it is being filled. Use random integers to fill the array. Use numbers between 1 and 10. Initialize array to zero. Find the sum of matrix. Find the maximum number in the matrix and the number of times it occurred.

So far I got the table intiaized to zero. I need to know how to show the array as it is being filled. I need to know how to use random intergers from one to 10 and find the maximum number and times it occured.

using namespace std;

int main()

{

vector<double> row(3, 0);

vector<vector<double> > table(3, row);

printVectorOfVector(table);