Logic Programming with Prolog 1- Logic Programming with Prolog AI.....(A.Abeer Alshihri) 1 Introduction Logic Programming is the name given to a distinctive style of programming,…