Question: (4 Marks) Modify the C++ program below to become a function called arrayPrint that perform the following tasks: - gets number of rows (h) as

(4 Marks) Modify the C++ program below to become a function called arrayPrint that perform the following tasks: - gets number of rows (h) as input - gets the number of columns (w) as input - doesn't return anything Modify the program: \#include \#include > using namespace std; int main() f. int h,w; cout >h; cout wi int jimmy [h][w]; for (int n=0;n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
