In these notes we’ll see how Prolog can be used to solve various combinatorial problems. ?- solve_triple1(A, B, C). A = 3, B = 4, C = 5 ; A = 4, B = 3, C = 5 ; A = 6, B = 8, C = 10 ; A = 8, B = 6, C = ...
Like many people who read Hackaday, we are fairly fluent in a number of computer languages, but we have to admit it is easier to pick up languages that look like they group with things like Fortran.