pseudocodigos
2
Mostrar si un número es menor que cero INICIO N: enteros Leer n Si n<0 entonces Mostrar “el número es negativo “ Sino Mostrar “el número no es negativo” Fin si FIN salarios INICIO Si 1 Si 2 Si 3 Sf 1 Sf 2 Sf 3 Lea S1 S2 S3 Sf 1 = (Si 1 *10) / 100 + Si 1
-
Upload
sebastian-sierra -
Category
Documents
-
view
218 -
download
0
description
logica de programacion si un numero es menor que cero y salarios
Transcript of pseudocodigos
Mostrar si un número es menor que cero
INICIO
N: enteros
Leer n
Si
n<0 entonces
Mostrar “el número es negativo “
Sino
Mostrar “el número no es negativo”
Fin si
FIN
salarios
INICIO
Si 1
Si 2
Si 3
Sf 1
Sf 2
Sf 3
Lea S1 S2 S3
Sf 1 = (Si 1 *10) / 100 + Si 1