Question: I'm needing help with the following code in c++. Write a program that prompts the user for two integers. These two integers should be passed
I'm needing help with the following code in c++.
Write a program that prompts the user for two integers. These two integers should be passed to a function void printMatrix(int n, int m). As the name suggests, this function should print an n by m matrix where each element is either a 0 or a 1 generated randomly. Remember to include the
srand(time(0));
rand()%2;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
