#include using namespace std; const int NUM_ROWS = 2; const int NUM_COLS = 3; void sumCols(int nums[][NUM_COLS], int tots[], int rows, int cols); void printArray(int nums[], int count); int main() { // Declare a 2D array of integers named numbers with NUM_ROWS rows and NUM_COLS cols int numbers[NUM_ROWS][NUM_COLS]; // Declare a 1D array of integers named totals with size NUM_COLS int totals[NUM_COLS]; // Write a loop to initialize all the values in totals to 0 for (int i=0; i