In C++
A resort has 3 main “areas” with age and other restrictions.Collect the necessary information (but no more), and display amessage or messages indicating in which restricted area a patronmay be. Use nested if statements where possible to minimize thenumber of comparisons made by the program.
Swimming Pool Area:
Must be 18 years of age unless accompanied by a responsibleadult.
Bar Area:
Must be 21 years of age, or 18 and active duty military.
Formal Dining area:
Must be 14 years of age unless accompanied by a responsibleadult. No children under 5 allowed at any time.
Expert Answer
An answer will be send to you
PayPal Gateway not configured
PayPal Gateway not configured