Pseudocodigo
Incio
double pend = { 17.24, 25.63, 5.94, 33.92, 3.71, 32.84, 35.93, 18.34, 6.92 }
double mayor = pend[0]
double menor = pend[0]
int IPrint ("Pendiente")
for (I = 1; step 8 I = I + 1)
{
Print (pend[I])
if (pend[I] > mayor)
{
mayor = pend[I]
}}
for (I = 1; I <= 8; I = I + 1)
{
if (pend[I] < menor =" pend[I]">)
fin
No hay comentarios:
Publicar un comentario