A new club opened up and they have three programs. Write ONLY ONE long logical statement in c++ to cover all these conditions using and, or, and not conditions with the necessary variables definitions to cover the following rules: (..&&..&&..||.. !..)
- All children under 18 are allowed to enter only on Sundays from 8:00 am until 5:00 pm .
- Young adults between the ages of (18 and 54 inclusive) may enter the club after 5:00 pm except on Sundays.
Males are allowed in on odd days and females on even days unless the day falls on a Friday then both young adults may enter the club after 5:00 pm regardless if it is odd or even.
Seniors, age 65 and older, may enter the club only on Sundays after 5:00 pm