i would use a boolean to do error checking. booleans only have 2 values 0 or 1, for an empty seat or an occupied seat. loop through and test if...
Separate names with a comma.