Question: using prolog 3. Write a rule that prints the maximum number in a list. Provide a screenshot of the output. (0.25 marks) -? maximum ([1,4,3,2,5],X)
3. Write a rule that prints the maximum number in a list. Provide a screenshot of the output. (0.25 marks) -? maximum ([1,4,3,2,5],X)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
