Question: 3. Use Prolog to solve the cryptarithmetic puzzle CROSS + ROADS = DANGER. Note: If you are not careful with the ordering of constraints in
3. Use Prolog to solve the cryptarithmetic puzzle CROSS + ROADS = DANGER.
Note: If you are not careful with the ordering of constraints in your program, the program could run for hours. With a proper ordering, it should only take a second or so. Explain briefly the order you have chosen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
