This is the problem:
Write a program that randomly fills in 0s and 1s into a 4x4 matrix, prints the matrix, and finds the row and column that have the most 1s. If there is a tie, multiple columns should be listed. For example, a run of the program might look like this:
0001
0110
1011
0011
Row 3 has the most 1s.
Columns 3 and 4 have the most 1s.
This is my code so far:
#include <iostream>
using namespace std;
const int DOWN = 4;
const int ACR = 4; // usable in any part of the program