Pseudocódigo y diagrama de flujo andri
-
Upload
annaaxxx -
Category
Engineering
-
view
89 -
download
2
Transcript of Pseudocódigo y diagrama de flujo andri
![Page 1: Pseudocódigo y diagrama de flujo andri](https://reader036.fdocumento.com/reader036/viewer/2022082906/58efa5ab1a28ab292b8b468f/html5/thumbnails/1.jpg)
PSEUDOCÓDIGO Y DIAGRAMA DE FLUJO
REALIZADO POR:ANDRIANA MONTAÑO
C.I. 26.707.649
REPUBLICA BOLIVARIANA DE VENEZUELAMINISTERIO DEL PODER POPULAR PARA LA EDUCACIÓN
I.U.P. “SANTIAGO MARIÑOEXTENSIÓN BARCELONA
![Page 2: Pseudocódigo y diagrama de flujo andri](https://reader036.fdocumento.com/reader036/viewer/2022082906/58efa5ab1a28ab292b8b468f/html5/thumbnails/2.jpg)
DESARROLLE UN ALGORITMO QUE PERMITA LEER VALORES DISTINTOS, DETERMINAR CUAL DE LOS DOS VALORES ES EL MAYOR Y ESCRIBIRLO INICIO
A=1, B=2
A,B
A=B
B>A A>B
FIN
A>B SINONO
SI
DIAGRAMA DE FLUJO
![Page 3: Pseudocódigo y diagrama de flujo andri](https://reader036.fdocumento.com/reader036/viewer/2022082906/58efa5ab1a28ab292b8b468f/html5/thumbnails/3.jpg)
DESARROLLE UN ALGORITMO QUE PERMITA LEER VALORES DISTINTOS, DETERMINAR CUAL DE LOS DOS VALORES ES EL MAYOR Y ESCRIBIRLO
PSEUDOCODIGO1. Inicio
2. Inicializar variables: A = 1, B = 2
3. Solicitar la introducción de dos valores distintos
4. Leer los dos valores
5. Asignarlos a las variables A y B
6. Si A = B Entonces vuelve a 3 porque los valores deben ser Distintos
7. Si A>B Entonces Escribir A, “Es el mayor”
8. De lo contrario: Escribir B, “Es el mayor”
9. Fin_ Si
10. Fin