viernes, 18 de febrero de 2011

PSEUDOCODIGO Y DIAGRAMA DE FLUJO DE DATOS DEMOSTRANDO "Como saber si un numero introducido por teclado es negativo o positivo"

0.- Inicio
1.- Introducir por teclado un numero (x)
2.- x>o (si-ir a 3) (no-ir a 4)
3.- Dicho numero es positivo (ir a 7)
4.-x<o (si-ir a 5) (no-ir a 6)
5.- Dicho numero es negativo (ir a 7)
6.- Es numero neutro "es decir no es positivo ni negativo"  (ir a 7)
7.- Fin



No hay comentarios:

Publicar un comentario