Answer to Question #68753 in Prolog for Oleg

Question #68753
member2(H, [_, H | _]):- !.
member2(H, [_, _ | T]) :- member2(H, T).

How many solutions - member2(X, [1, 2, 3, 4])?
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS