Homework 3

This homework is based on notions of chapters 4 of the textbook.

Problem 1

An earlier assignment about OO-programming asked you to consider expressions, called of "interest", consisting of four occurrences of the number 10 combined by arithmetic operators, e.g., (10+10)/(10+10).

The assignment's problem was to determine which digits are the values of one such expression, with the convention that any divisor in an expression must be a factor of its dividend, e.g., the value of the above expression is 1.

You are asked to solve the same problem using the Prolog language. Refer to the earlier assignment for the submission items.

Problem 2

Say which elements of the design of your program for this assignment differ significantly from those of your earlier assignment.