Está en la página 1de 6

MATERIAL DE APOYO PARA REALIZAR ACTIVIDAD SOBRE PSEUDOCODIGOS Y DIAGRAMAS DE

FLUJO ESTE MATERIA FUE YA INVESTIGADO POR VOSOTROS


ACA TIENEN ALGUNOS EJEMPLOS CON SUS ALGORITMOS Y DIAGRAMAS DE FLUJO AL
FINAL SE LES PIDEN DESARROLLAR ALGUNAS ACTIVIDADES PARA ENTREGAR CON ESTE MATERIAL
5……..ORDENE EN FORMA CRONOLOGICA EL SIGUIENTE DIAGRAMA DE FLUJO EXISTEN DOS
LINEAS QUE NO ESTAN DONDE CORRESPONDE LA TAREA ES ORDENAR LA SECUENCIA LOGICA DEL
ALGORITMO

Algoritmo
Escribir "Escribe el cateto A"
Leer a
Escribir "Escribe el cateto B"
Leer b
Escribir "La hipotenusa del triangulo es: ",c
Definir a,b,c como real
c = (a*a + b*b)

Fin Algoritmo
6…..Algoritmo que permite dividir cualquier numero entre 2

Algoritmo de tarea

Con la palabra reservada Definir declaramos las variables.

Definir n,x Como Real

Con la función escribir pedimos un número.

Escribir «Ingresa un número»

Este número se almacena en la variable n.

leer n

Dividimos el numero entre 2 y el resultado lo almacenamos en la variable x.

x=n/2

Finalmente con la función escribir mostramos en pantalla el resultado.

Escribir «El numero «,n,» dividido entre 2 es: «,x

FinAlgoritmo

LA TAREA ES ELABORAR SU RESPECTIVO DIAGRAMA DE


FLUJO.

También podría gustarte