Is there any other way of doing this? if section of this code make it work but is there any way of using setw() to organize (*) properly? : 
void showTheater(char theater[][20],int row,int seat)
{
	cout << "Seats:  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19" << endl;
	for (int i = 0; i <= row; i++)
	{
		
		for (int j = 0; j <= seat; j++)
		{
			if (j == 0) {
				cout << "Row " << i;
			}
			else if (i < 10) {
				cout << setw(3) << theater[row][seat];
			}
			else {
				cout <<" " << theater[row][seat]<<" ";
			}
		
		}

		cout << "\n";
	}
}


output without writing if section:

Seats:  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19
Row 0  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 1  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 2  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 3  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 4  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 5  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 6  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 7  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 8  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 9  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 10  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 11  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 12  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 13  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 14  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 15  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *

output with if section:
Seats:  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19
Row 0  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 1  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 2  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 3  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 4  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 5  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 6  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 7  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 8  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 9  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 10 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 11 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 12 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 13 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 14 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
Row 15 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *