(Solved) : Modify Code Store Multiplication Table Two Numbers 2d Array Named Multtable Multtable Must Q37229955 . . .
Modify your from this code to store the multiplication table upto two numbers in a 2D array named multTable.multTable must be created, populated andtested to store the result of the multiplication ofn * m in the indices [n][m]. C++
e.g. once multTable has been created and populated,multTable[3][4] will return 12;
#include “stdafx.h”
#include
using namespace std;
void multTable( int row , int col){
for (int i = 1; i <= row; ++i) {
for (int j = 1; j <= col; ++j){
cout << i* j << ” “;
}
cout << endl;
}
}
int main()
{
multTable(3, 5);
return 0;
}
Expert Answer
Answer to Modify your from this code to store the multiplication table up to two numbers in a 2D array named multTable. multTable …
OR