Course Solutions Uncategorized (Solved) : C Resort 3 Main Areas Age Restrictions Collect Necessary Information Display Message Messa Q31537396 . . . .

(Solved) : C Resort 3 Main Areas Age Restrictions Collect Necessary Information Display Message Messa Q31537396 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post