RICARDOEMF03

PseInt - Ejercicio 8 - numero negativo con para

Feb 21st, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Algoritmo num_negativo
  2. Definir n, i, div Como Entero
  3. Escribir "ingrese un numero"
  4. leer n
  5. para i =1 hasta n
  6. div = i / 1
  7. FinPara
  8. si div < 0
  9. Escribir "el numero ingresado es negativo"
  10. SiNo
  11. Escribir "el numero ingresado NO es negativo"
  12. FinSi
  13. FinAlgoritmo
Add Comment
Please, Sign In to add comment