I have a function
bool checkEmpty(int businessEntries, int economyEntries)
if(businessEntries ==0 && economyEntries == 0)
cout <<"The reservations are empty. No action taken!\n";
but when I call it within other functions by
if (checkEmpty(businessEntries, economyEntries)) return;
my program doesn't give me the required cout statement if the conditions are true.