Computer Science, asked by somasekharreddy, 1 year ago

Given the following Prolog program,

siblings(ram,ravan).
siblings(lakshman,vibhishan).
siblings(X,Y) :- siblings(Y,X)


What would be the output for the query siblings(ravan,X) ?
a
a) X = lakshman
b)X = ram
c) X = lakshman
d)X = vibhishan
e)The program doesn’t terminate.
f)false
)gNone of the above

Answers

Answered by shiva2210
1
d is the answer for the given question
Similar questions