Include Include Define Rows 3 Change Change Rows Define Cols 4 Change Change Columnsusing Q37221303

#include <iostream>#include <string>#define ROWS 3 // change this to change rows#define COLS 4 // change this to change columnsusing namespace std;void multTable(int arr[][COLS], int, int);int main() { int arr[ROWS][COLS]; multTable(arr, ROWS, COLS); // print table created for (int i = 0; i < ROWS; ++i) { for (int j = 0; j < COLS; ++j) { cout << arr[i][j] << ” “;

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.