Question: In the CLIPS program below. How can I get the message Welcome to the advising system. to always fire first without using salience. I control

In the CLIPS program below. How can I get the message "Welcome to the advising system." to always fire first without using salience. I control fact must be used instead.

In the CLIPS program below. How can I get the message "Welcome

; Facts (deffacts prerequisites (after CSE1000 take CSE2000) (after CSE1001 take CSE2001) (after MATH1000 take MATH2000) (after MATH1001 take MATH2001) (after CEE1000 take CEE2000)) Rules (defrule welcome (declare (salience 10000)) (printout t crlf) (printout t crlf) (printout t "Welcome to the advising system." crlf) (printout t crlf)) (defrule rule2 (after ?coursel take ?course2) (student ?name $? ?coursel $) (printout t "Since " ?name" has taken " ?course! ", 1 suggest taking " ?course2-crlf) (printout t crlf)) ; Facts (deffacts prerequisites (after CSE1000 take CSE2000) (after CSE1001 take CSE2001) (after MATH1000 take MATH2000) (after MATH1001 take MATH2001) (after CEE1000 take CEE2000)) Rules (defrule welcome (declare (salience 10000)) (printout t crlf) (printout t crlf) (printout t "Welcome to the advising system." crlf) (printout t crlf)) (defrule rule2 (after ?coursel take ?course2) (student ?name $? ?coursel $) (printout t "Since " ?name" has taken " ?course! ", 1 suggest taking " ?course2-crlf) (printout t crlf))

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 Databases Questions!