I have a program I am supposed to be making for class and I am really stuck. I have to display an array and get a seating input of a column and row. I posted that code below.
As far as I can tell it doesn't include the number of the seat but rather the price of it.
The line : std::cout << " " << "X" << seating_array[Col][Row] << ' ';
is the offender. What does seating_array[Col][Row] represent? Is it something you want to output?
The price of the seat is what i want to replace with an x to show that it has been taken already. My program is supposed to loop every time that someone chooses a seat and replace the chosen seat with an x.