Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/09/2005, 11:08
Avatar de webbeginner
webbeginner
 
Fecha de Ingreso: noviembre-2004
Mensajes: 241
Antigüedad: 19 años, 5 meses
Puntos: 2
Gracias por tu ayuda jjvr78 ¡¡¡

Me fue muy útil, entonces en algo parecido a un lenguaje de programación sería mas o menos así ??


Código:
Star
begin
var
mayor = 0
menor = 999999999999
writeln "Escriba un numero"
Read N
   For (I=1; I= N ; I++)
    writeln"Indique el valor del número";
    Leer Num
        If (Num>Mayor) then
             Mayor = Num;
           else
                if (Num<Menor) then
                    Menor = Num;
                end if
         end if
    end for

writeln "el numero mayor es" Mayor;
writeln "El numero menor es" Menor;

Gracias
__________________
************************
"La bondad es simple; la maldad, múltiple"