div(N1,N2,D):- D is N1/N2.
Compartilhar