I need a program in prolog with this condition
The condition : Write the predicate joining two symbolic lists in the following way: the element 1 of the first list, the 1st element of the second list, the 2nd element of the first list, the 2nd element of the second list, etc. if the items of one of the lists have run out (this list is shorter list), in the resulting list is inserted the symbolic constant "null" until it will be go through the other list.
Comments
Leave a comment