Saturday, March 8, 2025

LARGEST OF TWO NUMBERS IN PROLOG

 


largest(A, B):-

    A > B,

    write(A);

    write(B)

No comments:

Post a Comment