Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Because of that, the checkEmpty() conditions never are true. Change it to:
bool checkEmpty(int businessEntries, int economyEntries)
{
if(businessEntries ==0 && economyEntries == 9)
{
cout <<"The reservations are empty. No action taken!\n";
return true;
}
return false;
}
However, i don't know why businessEntries has a value of 1?
And if you get gaps after cancelling some reservations, businessEntries and economyEntries do not really 'count' filled seats but the next never filled seat no that is empty. I would suggest that you hold two more integers to count the number of filled seats, e. g. businessCount and economyCount.
Regards, Alex