Re: problem:4x4magicSquare in prolog



lee.jinsong802@xxxxxxxxxxxxxx wrote:
Bart Demoen wrote:

lee.jinsong802@xxxxxxxxxxxxxx wrote:

pls  just give me a hand for correcting the follwing program:   4x4
magic square, output all results.  however it must be done in about
10mins im computer.

Please tell us which is the query. Please tell us which Prolog system you are using.


a 4x4 magic square mit all answer and output
with swi-prolog


What is the query ?

?- test_matrix.

No



?- test_zerlegen.
counter
=2064

Yes

both almost immediately.

If you want us to help you, help us making help you easier, by telling us at least what the query is.

BTW, when is your deadline ?
.