Question: Explain the following code [ 6 marks ] ( deftemplate emergency ( slot type ) ( slot location ) ) ( deftemplate fire - squad
Explain the following code marksdeftemplate emergency slot typeslot locationdeftemplate firesquad slot nameslot locationdeftemplate evacuated slot buildingdefrule allfiresbeinghandled forall emergency type firelocation wherefiresquad location whereevacuated building whereprintout t All buildings that are on fire crlf have been evacuated and crlf have firefighters on location crlf
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
