Any language that supports recursion allows a piece of code to continually call itself if necessary. Recursion is frequently a very effective and practical approach to describe particular programming constructs, Recursion happens in Prolog when a predicate has a goal that references to another goal. The boundary condition specifies a straightforward instance for which we have proof. The recursive case reduces the complexity of the issue by first removing a layer of it before invoking itself. The boundary condition is examined at each level. If it is, the recursion comes to an end. If not, the cycle repeats.
GET YOUR OWN COPY NOW TO KNOW MORE ABOUT THIS BOOK JUST SCROLL UP, CLICK THE BUY ICON AND IT IS YOURS!!!