Question: The current order in process can have at most 3 alcoholic beverages. The minimum age to order alcohol drink is 2 1 Start please a

The current order in process can have at most 3 alcoholic beverages.
The minimum age to order alcohol drink is 21
Start please a new order:
Your Total Order for now is 0.0
Would you please enter your name John
Would you please enter your age 23
Your age is above 20 and you are eligible to order alcohol
Would you please add an alcohol drink
The current order of drinks is 1
The Total price on the Order is 2.0
Your current alcohol drink order is less than 4
Would you please add a second alcohol drink
The current order of drinks is 2
The Total Price on the Order: 6.0
Your current alcohol drink order is less than 4
Add third alcohol drink
The current order of drinks is 3
The Total Price on the Order: 8.0
You have a maximum alcohol drinks for this order
Would you please add a COFFEE to your order:
Total items on your order is 4
The Total Price on the Order: 11.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!