Computer Science, asked by Somaal2504, 9 months ago

The member operation for lists is implemented in a recursive Prolog program.
The notation [X|Y] means that X is the head of a list and Y is the Tail

Answers

Answered by RewelDeepak
0

Answer:

A list whose head is X and whose tail is Y can just be referred to using the ... This program can be used in numerous ways. ... member(X,[ 23,45,67,12,222,19,9,6]), Y is X*X, Y .

Similar questions