Question: Q1. Write a program in Prolog to solve a Constraint Satisfaction Problem (CSP) of a given puzzle and then take a screenshot of the output


Q1. Write a program in Prolog to solve a Constraint Satisfaction Problem (CSP) of a given puzzle and then take a screenshot of the output and paste it into Lab Assignment File. * Here you need to replace each letter with a digit so that the sum should be correct. * Note that this problem has a unique solution (only one solution). Software Required: SWI-Prolog Q2. Write a program in Prolog to solve the given clause, then take a screenshot of the output and paste it into file. Software required: SWI-Prolog \( (\text { rainy_season })_{1} \) ( rainfall )= ( rainfall rain) ( rainy _season rain monsoon) 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
