While you can ask these type of homework questions here, do not expect an answer here.
To get started learning Prolog please use one of the free introduction books.
While you can ask these type of homework questions here, do not expect an answer here.
To get started learning Prolog please use one of the free introduction books.