menor(N1,N2,M):- N1 < N2, M is N1,!. menor(_,N2,M):- M is N2.
Compartilhar