Write a PROLOG program that implements a family database for your family. Save it as an ordinary text file named family.pro. Your program should implement the following facts for your immediate family, grandparents, and great-grandparents.
parent_of(X,Y).
male(X).
female(Y).
That is, your database should consist of a number of facts about who is the parent_of of who, about which individuals are male and about which individuals are female. For example:
parent_of(joe,susie).
parent_of(joe,dan).
parent_of(mary,susie).
parent_of(mary,dan).
male(dan).
male(joe).
female(susie).
female(mary).
Attachment:- ASSIGNMENT.rar