@zaasmi said in CS607 Assignment 2 Solution and Discussion:

Question No. 2 Marks 10
Using deftemplate add a function with name “person” with slots name, age, degree and gpa. Then add fact of that person with your details.
Also write a rule with name “is-student-passed” where you will set condition on cgpa, if cgpa will be 3.5 or 3.7 then student will be passed. Write the code for this rule and run this rule.
Take screenshots of your CLIPS IDE window. If any student will send code on word or pdf file marks will be zero.

35058d0e-1fd0-4068-bc61-79ab25eb6056-image.png

c3159e96-2ea5-42a1-9f26-06874d030aad-image.png

01890f1e-a011-4236-b03a-bd494313f520-image.png

You can download CLIPS IDE from this link