So this program is suppose to use arrays to get the inventory of four different sizes from seven differnt colleges. Then display the totals in 9 different ways. I have then input working well, but I am just lost on how to program the output. any ideas or direction? BTW, I am new to c++
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
const int NUM_SIZE = 4;
const int NUM_COLLEGE = 7;
int inventory[NUM_SIZE][NUM_COLLEGE];
int college,
size,
st,
mt,
lt,
xlt,
ct,
tqoh;
cout << "Please enter " << NUM_SIZE
<< " inventories per size." << endl;
cout << "Separate the number of each inventory size by one or more spaces." << endl;
for (college = 0; college <NUM_COLLEGE; ++ college)
{
cout << endl << endl;
cout << "Inventory for college " << college + 1 << ": ";
for (size = 0; size <NUM_SIZE; ++size)
cin >> inventory[college][size];
}