Please help me with an example. I would like to create a simple Prolog program that combines two numbers, and the Java program writes them to the console! Thus, Prolog adds, and the Java program records the result. I can write an add in the prolog, but I do not know how to call the prolog program in java. = (Please, someone who can create this small example, write it here! Thanks!
source
share