65 638
Assignments Done
Successfully Done
In October 2018

Answer to Question #45591 in Prolog for Jack

Question #45591
Doing a wait or not wait for restaurant seat
The Decision Tree

Code here.

I want to add a summary of the results output like
example(yes, [Pat=full, WaitEstimate=30-60, Alt=no, Reservation=no, Bar=yes]).

If I enter the results as below

?- patrons.
What is the size of the Patrons?
|: full.
What is the estimate waiting time?(write in minutes, ex:50)
|: 60.
Is there any alternative?
|: no.
Have you made any reservation?
|: no.
Do they offer a comfortable bar area for customer to wait in?
|: yes.
Your decision is to wait!
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions