Program to Define Relations in Prolog
In previous article we have seen how to find the reverse of a list. The following program shows the implementation of rules. It describes the relationships of brother, sister, grandparents,…
In previous article we have seen how to find the reverse of a list. The following program shows the implementation of rules. It describes the relationships of brother, sister, grandparents,…
In previous article we have seen how to find the population density of the country. In this we will discuss about how to append the list. The following program appends…
In previous article we have seen how to get factorial of a number. In this article, we will see program of how to calculate population density of a country. It…
In previous article we have discussed about Prolog and how to make program in Prolog. In the factorial program like take 5 Factorial of 5 is 120 as 5*4*3*2*1 PROGRAM:…
Artificial Intelligence Artificial intelligence is a branch of computer science which deals with such machines or computers that can do the jobs as well as humans like in order to…