Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Algoritmo num_positivo
- Definir n, i, div Como Entero
- Escribir "ingrese un numero"
- leer n
- para i =1 hasta n
- div = i / 1
- FinPara
- si div > 0
- Escribir "el numero ingresado es positivo"
- SiNo
- Escribir "el numero ingresado NO es positivo"
- FinSi
- FinAlgoritmo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement