Prolog exercise

Largest cut

Sign in to hand in your solution and get feedback.

largest(X,Y,Y):- X =< Y, !. largest(X,_,X). % keep this line