Question: Given the following prolog program answer the following queries Comments in prolog represents not equal to %single line comments day sunday) day (monday) day (tuesay'').


Given the following prolog program answer the following queries Comments in prolog represents "not equal to %single line comments day sunday") day ("monday") day ("tuesay''). day ("Wednesday"). day "thursday") day "friday"). no office ("sunday"). no-office("Saturday"). take leave monday" visit mom(X) no office(X) take leave (X)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
