This is what I have so far
#include <iostream>
#include <iomanip>
using namespace std;
const int NUM_SECTIONS = 3,
NUM_ROWS = 5,
NUM_COL = 9;
int main()
{
int seatTable[NUM_SECTIONS][NUM_ROWS][NUM_COL] = { { { 100, 100, 100, 100, 100, 100, 100, 100, },
{100, 100, 100, 100, 100, 100, 100, 100,},{100, 100, 100, 100, 100, 100, 100, 100,} , {90, 90, 90, 90, 90, 90, 90, 90,} ,
{90, 90, 90, 90, 90, 90, 90, 90,} } ,{ {80, 80, 80, 80, 80, 80, 80, 80,}, { 80, 80, 80, 80, 80, 80, 80, 80,} ,
{80, 80, 80, 80, 80, 80, 80, 80,} , {80, 80, 80, 80, 80, 80, 80, 80,} , {80, 80, 80, 80, 80, 80, 80, 80,} } ,
{ { 50, 50, 50, 50, 50, 50, 50, 50,} , {50, 50, 50, 50, 50, 50, 50, 50,} , {50, 50, 50, 50, 50, 50, 50, 50,} ,
{50, 50, 50, 50, 50, 50, 50, 50,} , {50, 50, 50, 50, 50, 50, 50, 50, } } };
for (int section = 0; section < NUM_SECTIONS; section++)
{
cout << "\n\nSection" << (section + 1);
for (int row = 0; row << NUM_ROWS; row++)
{
cout << "\nRow " << (row + 1) << ": ";
for (int seats = 0; seats < NUM_COL; seats++)
{
cout << setw(7) << seatTable[NUM_SECTIONS][NUM_ROWS][NUM_COL];
}
}
cout << endl;
}
return 0;
}