Universidad de Puerto Rico

Examen Parcial II. Write a logic program in Prolog to compute the greatest
common divisor (GCD) of 2 integer arguments. ... elements of a list; Write a
Prolog program that finds the maximum element of a list; Consider the following
Prolog rules:.

Part of the document