You are on page 1of 1

INICIO Entero i, S=0, NM=0 Real N[20], ST //lectura Repetir con i desde 1 hasta 20 incremento 1 hacer Leer N[i]

S= S+N[i] fin_hacer ST=S //acumular Repetir con i desde 1 hasta 20 incremento 1 hacer Si(NM<=N[1]) entonces NM=N[1] sino si(MN<=N[2]) entonces NM=N[2] . . . . . sino si (NM<=N[20]) entonces NM=N[20] fin_si fin _hacer escribir La Suma total de nmeros enteros es: Escribir El Numero menor es:, NM FIN

You might also like