L'algorithme s'écrit en langage non fonctionnel : DENOM A NUM B Quotient(A, B) Q Reste(A, B) R tantque R 0 faire Q+1 D Afficher D B-R B A*D A Quotient(A, B) Q Reste(A, B) R ftantque Afficher Q