num(Y, Y).
num(X, Y) :- X > 0, X1 is X - 2, num(X1, Y).
How many solutions - num(5, X)?
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