Professional Documents
Culture Documents
Facultad de Ingeniería
1-Octubre-2010
Algoritmo que lea 3 numeros cualesquiera y devuelva una lista en orden ascendente (menor a
mayor) Ejemplo, a=1, b=0, c=4. Salida 0,1,4
INICIO
Entero: a,b,c
Ingrese 3 números
diferentes
a, b, c
a<b
y
b<c
a<c
a, b, c y
c<b
b<a
a, c, b
y
a<c b<c
b, a, c y
c<a
c<a
b, c, a y
a<b
c<b
c, a, b y
b<a
c, b, a
FIN