Answer to Question #68753 in Prolog for Oleg
member2(H, [_, H | _]):- !.
member2(H, [_, _ | T]) :- member2(H, T).
How many solutions - member2(X, [1, 2, 3, 4])?
0
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!
Learn more about our help with Assignments:
Prolog
Comments
Leave a comment