How can i solve this problem by prolog????
A,B,C,D,E,F and G stand for 7 consecutive integers
D is 3 less than A
B is the middle term
F is as much less than B as C is greater than D
G is greater than F
Question: What is the order of the variables?
How can I exactly declare the rules and facts???
Please help... It's urgent.....
^___^
A,B,C,D,E,F and G stand for 7 consecutive integers
D is 3 less than A
B is the middle term
F is as much less than B as C is greater than D
G is greater than F
Question: What is the order of the variables?
How can I exactly declare the rules and facts???
Please help... It's urgent.....
^___^