I need to write structure in prolog. Use the following structures in Prolog: parent(X, Y). male(X). female(X). Write a structure that defines brother(X, Y). As far as I understand .Here X is parent of Y. X is male. X is female. Now, I have to write a structure which defines X is brother of Y. Any ideas and suggestion and help would be appreciated.
codeme · May 11, 2013 10:04 AM · 167 views
This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.
Start a New Discussion