L
Algorithm Min et Max
Variable
m:
L:
n:
Begin
Saisir la liste L
n←la dimension de la liste L
m←L(1)
For ifrom 2to nDo
If L(i)≤mThen
m←L(i)
Endif
EndFor
Afficher ‘‘le nombre m’’
End
L
L
L
7,11,14,7,13,11,11,8,2,10,11,18,8,13,15,20,5,6,7,14,11,10,8,17,19,10,8,5,18,9,9,12,15,7,10
L
L
V
V
✓
✓