๐Ÿค–
B.TECH II YEAR โ€ข II SEMESTER โ€ข R22

Skill Development Course - Lab Manual

PROLOG / LISP / PySWIP โ€ข Program 9 Solution

๐Ÿ“˜ R22 Regulation ๐ŸŽ“ II Year ๐Ÿ“š II Semester ๐Ÿค– Skill Development Course ๐Ÿงช Lab Program 9
Aim

Assume the prolog predicate gt(A, B) is true when A is greater than B. Use this predicate to define the predicate addLeaf(Tree, X, NewTree) which is true if NewTree is the Tree produced by adding the item X in a leaf node. Tree and NewTree are binary search trees. The empty tree is represented by the atom nil.

โ† All Programs

๐Ÿ’ป Solution

week10.pl
The program file week10.pl was not found in the ai folder.

๐Ÿ“ค Output

w10.txt
The output file w10.txt was not found in the ai/outputs folder.
โ† Program 8 Program 10 โ†’
โ† Back to Skill Development Course Lab Programs ๐Ÿ“š All Lab Manuals