Answer to Question #68752 in Prolog for Oleg

Question #68752
num(Y, Y).
num(X, Y) :- X > 0, X1 is X - 2, num(X1, Y).

How many solutions - num(5, X)?
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
New on Blog
APPROVED BY CLIENTS