SlideShare une entreprise Scribd logo
1  sur  9
INSTITUTO UNIVERSITARIO POLITÉCNICO
“SANTIAGO MARIÑO”
PROGRAMACIÓN-SECCIÓN “ YV ”
Realizado Por:
José Chique
C.I 14.931.901
Barcelona, Mayo 2015.
Profesora:
Yanitza Arreaza
DISEÑAR UN DIAGRAMA DE FLUJO DE DATOS QUE
RECIBA TRES VALORES Y MUESTRE CUAL DE ESTOS
ES EL MAYOR Y CUAL ES EL MENOR
INTRODUZCA TRES
VALORES DISTINTOS
INICIO
LEER A,B,C
A≠B AND
B≠C
NO
SI
A>B AND
A>C
SI
NO
B>A AND
B>C
SI
INICIO
A
“ES EL MAYOR”
B
“ES EL MAYOR”
SI
A
“ES EL MENOR”
NO
B<A AND
B<C
SI
NO
C
“ES EL MENOR”
A<B AND
A<C
B
“ES EL MENOR”
SI
NO
C
“ES EL MAYOR”
1. INICIO
2. INICIALIZAR VARIABLES A=0, B=0, C=0
3. SOLICITAR LA INTRODUCCIÓN DE TRES VALORES DISTINTOS
4. LEER LOS TRES VALORES
5. SI A≠B Y B≠C ENTONCES
6. SI A>B Y A>C ENTONCES
7. ESCRIBE A, “ES EL MAYOR”
8. DE LO CONTRARIO
9. SI B>A Y B>C ENTONCES
10. ESCRIBE B, “ ES EL MAYOR”
11. DE LO CONTRARIO
12. ESCRIBE C, “ES EL MAYOR”
13. FIN-SI
14. FIN-SI
15. DE LO CONTRARIO
16. SI A<B Y A<C ENTONCES
17. ESCRIBE A, “ES EL MENOR”
18. DE LO CONTRARIO
19. SI B<A Y B<C ENTONCES
20. ESCRIBE B, “ES EL MENOR”
21. DE LO CONTRARIO
22. ESCRIBE C, “ES EL MENOR”
23. FIN-SI
24. FIN-SI
25. DE LO CONTRARIO, VUELVE AL PASO 3
24.FIN-SI
25.FIN
DISEÑAR UN DIAGRAMA DE FLUJO QUE SUME TRES
VALORES, SIEMPRE QUE ESTOS SEAN MAYORES QUE
10.
FIN
INICIO
A=0, B=0,C=0
SUMA=O
INTRODUZCA 3
VALORES MAYORES
QUE 10
LEER A,B,C
A>10 AND B>10
AND C>10
SUMA= A+B+C
MOSTRAR SUMA
NO
SI
1. INICIO
2. INICIALIZAR LAS VARIABLES
A=0, B=0, C=0, SUMA=0
3. SOLICITAR LA INTRODUCCION
DE TRES VALORES MAYORES QUE 10
4. LEER LOS TRES VALORES
5. ALMACENAR LOS TRES VALORES EN
A,B,C
6. SI A>10 Y B>10 Y C>10 ENTONCES
7. SUMA=A+B+C
8. MOSTRAR SUMA
9. DE LO CONTRARIO REPETIR DESDE EL
PASO 3
10. FIN-SI
11. FIN
DISEÑAR UN DIAGRAMA DE FLUJO QUE SUME DOS
VALORES, EN UN CLICO DE TRES REPETICIONES Y
CUANTAS VECES EL RESULTADO FUE POSITIVO.
POST=POST+1
NO SI
N=0, SUMA=0, X=0
N1=0, N2=0, POST=0
N==3
INGRESE Nº 1
INGRESE Nº 2
LEER N1, N2
SI
X>0
SUMA= A+B+X
X=SUMA
LA SUMA ES POSITIVA,
Y EL RESULTADO FUE: X
N=N+1
NO
LA SUMA FUE NEGATIVA,
Y EL RESULTADO FUE: X
FIN
EL RESULTADO DE
LA SUMA FUE POST
VECES POSITIVO
INICIO
1. INICIO
2. DECLARACIÓN DE LAS VARIABLES
N=0, SUMA=0, N1=0, N2=0, X=0, POST=0
3. SI N==3
4. EL RESULTADO DE LA SUMA FUE POST VECES POSITIVO
5. DE LO CONTRARIO
6. INGRESE NÚMERO 1
7. LEER N1
8. INGRESE NÚMERO 2
9. LEER N2
10. SUMA=A+B+X
11. X=SUMA
12. SI X>0
13. LA SUMA ES POSITIVA, Y EL RESULTADO FUE: X
14. POST=POST+1
15. DE LO CONTRARIO
16. LA SUMA ES NEGATIVA, Y EL RESULTADO FUE: X
17. FIN-SI
18. N=N+1
19. FIN-SI
20. FIN

Contenu connexe

Tendances (18)

Diagrama de flujos de datos/ programacion
Diagrama de flujos de datos/ programacionDiagrama de flujos de datos/ programacion
Diagrama de flujos de datos/ programacion
 
Programacion
ProgramacionProgramacion
Programacion
 
diagramas de flujo
diagramas de flujodiagramas de flujo
diagramas de flujo
 
Programacion
ProgramacionProgramacion
Programacion
 
Diagramas de flujo
Diagramas de flujoDiagramas de flujo
Diagramas de flujo
 
Diagramadefluj o carlos
Diagramadefluj o carlosDiagramadefluj o carlos
Diagramadefluj o carlos
 
Diagramas de flujo
Diagramas de flujoDiagramas de flujo
Diagramas de flujo
 
Diagramadeflujo 00
Diagramadeflujo 00Diagramadeflujo 00
Diagramadeflujo 00
 
DIAGRAMA DE FLUJO
DIAGRAMA DE FLUJODIAGRAMA DE FLUJO
DIAGRAMA DE FLUJO
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujo
 
Diagramas de flujo
Diagramas de flujoDiagramas de flujo
Diagramas de flujo
 
Curva mecanica eduarb
Curva mecanica eduarbCurva mecanica eduarb
Curva mecanica eduarb
 
Curva mecanica eduarb
Curva mecanica eduarbCurva mecanica eduarb
Curva mecanica eduarb
 
Un juego consta de cuatro movimientos así
Un juego consta de cuatro movimientos asíUn juego consta de cuatro movimientos así
Un juego consta de cuatro movimientos así
 
Dada la secuencia
Dada la secuenciaDada la secuencia
Dada la secuencia
 
Diagrama
DiagramaDiagrama
Diagrama
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujo
 
Radicación
RadicaciónRadicación
Radicación
 

En vedette

Centro de capacitación del desarrollo profesional
Centro de capacitación del desarrollo profesionalCentro de capacitación del desarrollo profesional
Centro de capacitación del desarrollo profesionalEdgar Roy Perez Gomez
 
Backup of quick basic
Backup of quick basicBackup of quick basic
Backup of quick basicPablo Acosta
 
Intro csharp enero de 2015
Intro csharp enero de 2015 Intro csharp enero de 2015
Intro csharp enero de 2015 Pablo Acosta
 
Cleaning and sorting data
Cleaning and sorting dataCleaning and sorting data
Cleaning and sorting dataNina Sandlin
 
Parasha nº 11 vayigash 1
Parasha nº 11 vayigash 1Parasha nº 11 vayigash 1
Parasha nº 11 vayigash 1Horeb Israelita
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshopJohn Allan
 

En vedette (7)

Centro de capacitación del desarrollo profesional
Centro de capacitación del desarrollo profesionalCentro de capacitación del desarrollo profesional
Centro de capacitación del desarrollo profesional
 
Ms4
Ms4Ms4
Ms4
 
Backup of quick basic
Backup of quick basicBackup of quick basic
Backup of quick basic
 
Intro csharp enero de 2015
Intro csharp enero de 2015 Intro csharp enero de 2015
Intro csharp enero de 2015
 
Cleaning and sorting data
Cleaning and sorting dataCleaning and sorting data
Cleaning and sorting data
 
Parasha nº 11 vayigash 1
Parasha nº 11 vayigash 1Parasha nº 11 vayigash 1
Parasha nº 11 vayigash 1
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshop
 

Similaire à Diagrama de flujo

Diagramas de flujos de datos
Diagramas de flujos de datosDiagramas de flujos de datos
Diagramas de flujos de datosCarlos Marcano
 
Presentacion diagrama de flujo
Presentacion diagrama de flujoPresentacion diagrama de flujo
Presentacion diagrama de flujohenandez56
 
Freivis la rosa
Freivis la rosaFreivis la rosa
Freivis la rosafreivis123
 
Freivis la rosa
Freivis la rosaFreivis la rosa
Freivis la rosafreivis123
 
Diagrama de Flujo Actividad
Diagrama de Flujo ActividadDiagrama de Flujo Actividad
Diagrama de Flujo ActividadChacinAdriana
 
diagrama de flujo
diagrama de flujodiagrama de flujo
diagrama de flujoJhonAndrad
 
Presentación ALFRE MILLAN. npptx
Presentación ALFRE MILLAN.  npptxPresentación ALFRE MILLAN.  npptx
Presentación ALFRE MILLAN. npptxalffreee
 
Presentación diagrama de flujos
Presentación diagrama de flujosPresentación diagrama de flujos
Presentación diagrama de flujosmariallemus
 
Ejercicios de Programacion
Ejercicios de Programacion Ejercicios de Programacion
Ejercicios de Programacion jorgeencizo
 
Diagrama de flujo IUPSM
Diagrama de flujo IUPSMDiagrama de flujo IUPSM
Diagrama de flujo IUPSMcruzmgil
 
trabajo programación.
trabajo programación. trabajo programación.
trabajo programación. titar04
 
Diagrama de flujo
Diagrama de flujo Diagrama de flujo
Diagrama de flujo albaniprz
 
Willian cordero diagrma de flujo
Willian cordero diagrma de flujoWillian cordero diagrma de flujo
Willian cordero diagrma de flujowillian cordero
 
Programación
ProgramaciónProgramación
Programaciónjahilis
 
Presentacion de nilexis lopez
Presentacion de  nilexis lopezPresentacion de  nilexis lopez
Presentacion de nilexis lopeznilexis lopez
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujodylan93
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujolaura uso
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujolaura uso
 

Similaire à Diagrama de flujo (20)

Diagramas de flujos de datos
Diagramas de flujos de datosDiagramas de flujos de datos
Diagramas de flujos de datos
 
Presentacion diagrama de flujo
Presentacion diagrama de flujoPresentacion diagrama de flujo
Presentacion diagrama de flujo
 
Freivis la rosa
Freivis la rosaFreivis la rosa
Freivis la rosa
 
Freivis la rosa
Freivis la rosaFreivis la rosa
Freivis la rosa
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujo
 
Diagrama de Flujo Actividad
Diagrama de Flujo ActividadDiagrama de Flujo Actividad
Diagrama de Flujo Actividad
 
diagrama de flujo
diagrama de flujodiagrama de flujo
diagrama de flujo
 
diagramas de flujo
diagramas de flujodiagramas de flujo
diagramas de flujo
 
Presentación ALFRE MILLAN. npptx
Presentación ALFRE MILLAN.  npptxPresentación ALFRE MILLAN.  npptx
Presentación ALFRE MILLAN. npptx
 
Presentación diagrama de flujos
Presentación diagrama de flujosPresentación diagrama de flujos
Presentación diagrama de flujos
 
Ejercicios de Programacion
Ejercicios de Programacion Ejercicios de Programacion
Ejercicios de Programacion
 
Diagrama de flujo IUPSM
Diagrama de flujo IUPSMDiagrama de flujo IUPSM
Diagrama de flujo IUPSM
 
trabajo programación.
trabajo programación. trabajo programación.
trabajo programación.
 
Diagrama de flujo
Diagrama de flujo Diagrama de flujo
Diagrama de flujo
 
Willian cordero diagrma de flujo
Willian cordero diagrma de flujoWillian cordero diagrma de flujo
Willian cordero diagrma de flujo
 
Programación
ProgramaciónProgramación
Programación
 
Presentacion de nilexis lopez
Presentacion de  nilexis lopezPresentacion de  nilexis lopez
Presentacion de nilexis lopez
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujo
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujo
 
Diagrama de flujo
Diagrama de flujoDiagrama de flujo
Diagrama de flujo
 

Diagrama de flujo

  • 1. INSTITUTO UNIVERSITARIO POLITÉCNICO “SANTIAGO MARIÑO” PROGRAMACIÓN-SECCIÓN “ YV ” Realizado Por: José Chique C.I 14.931.901 Barcelona, Mayo 2015. Profesora: Yanitza Arreaza
  • 2. DISEÑAR UN DIAGRAMA DE FLUJO DE DATOS QUE RECIBA TRES VALORES Y MUESTRE CUAL DE ESTOS ES EL MAYOR Y CUAL ES EL MENOR
  • 3. INTRODUZCA TRES VALORES DISTINTOS INICIO LEER A,B,C A≠B AND B≠C NO SI A>B AND A>C SI NO B>A AND B>C SI INICIO A “ES EL MAYOR” B “ES EL MAYOR” SI A “ES EL MENOR” NO B<A AND B<C SI NO C “ES EL MENOR” A<B AND A<C B “ES EL MENOR” SI NO C “ES EL MAYOR”
  • 4. 1. INICIO 2. INICIALIZAR VARIABLES A=0, B=0, C=0 3. SOLICITAR LA INTRODUCCIÓN DE TRES VALORES DISTINTOS 4. LEER LOS TRES VALORES 5. SI A≠B Y B≠C ENTONCES 6. SI A>B Y A>C ENTONCES 7. ESCRIBE A, “ES EL MAYOR” 8. DE LO CONTRARIO 9. SI B>A Y B>C ENTONCES 10. ESCRIBE B, “ ES EL MAYOR” 11. DE LO CONTRARIO 12. ESCRIBE C, “ES EL MAYOR” 13. FIN-SI 14. FIN-SI 15. DE LO CONTRARIO 16. SI A<B Y A<C ENTONCES 17. ESCRIBE A, “ES EL MENOR” 18. DE LO CONTRARIO 19. SI B<A Y B<C ENTONCES 20. ESCRIBE B, “ES EL MENOR” 21. DE LO CONTRARIO 22. ESCRIBE C, “ES EL MENOR” 23. FIN-SI 24. FIN-SI 25. DE LO CONTRARIO, VUELVE AL PASO 3 24.FIN-SI 25.FIN
  • 5. DISEÑAR UN DIAGRAMA DE FLUJO QUE SUME TRES VALORES, SIEMPRE QUE ESTOS SEAN MAYORES QUE 10.
  • 6. FIN INICIO A=0, B=0,C=0 SUMA=O INTRODUZCA 3 VALORES MAYORES QUE 10 LEER A,B,C A>10 AND B>10 AND C>10 SUMA= A+B+C MOSTRAR SUMA NO SI 1. INICIO 2. INICIALIZAR LAS VARIABLES A=0, B=0, C=0, SUMA=0 3. SOLICITAR LA INTRODUCCION DE TRES VALORES MAYORES QUE 10 4. LEER LOS TRES VALORES 5. ALMACENAR LOS TRES VALORES EN A,B,C 6. SI A>10 Y B>10 Y C>10 ENTONCES 7. SUMA=A+B+C 8. MOSTRAR SUMA 9. DE LO CONTRARIO REPETIR DESDE EL PASO 3 10. FIN-SI 11. FIN
  • 7. DISEÑAR UN DIAGRAMA DE FLUJO QUE SUME DOS VALORES, EN UN CLICO DE TRES REPETICIONES Y CUANTAS VECES EL RESULTADO FUE POSITIVO.
  • 8. POST=POST+1 NO SI N=0, SUMA=0, X=0 N1=0, N2=0, POST=0 N==3 INGRESE Nº 1 INGRESE Nº 2 LEER N1, N2 SI X>0 SUMA= A+B+X X=SUMA LA SUMA ES POSITIVA, Y EL RESULTADO FUE: X N=N+1 NO LA SUMA FUE NEGATIVA, Y EL RESULTADO FUE: X FIN EL RESULTADO DE LA SUMA FUE POST VECES POSITIVO INICIO
  • 9. 1. INICIO 2. DECLARACIÓN DE LAS VARIABLES N=0, SUMA=0, N1=0, N2=0, X=0, POST=0 3. SI N==3 4. EL RESULTADO DE LA SUMA FUE POST VECES POSITIVO 5. DE LO CONTRARIO 6. INGRESE NÚMERO 1 7. LEER N1 8. INGRESE NÚMERO 2 9. LEER N2 10. SUMA=A+B+X 11. X=SUMA 12. SI X>0 13. LA SUMA ES POSITIVA, Y EL RESULTADO FUE: X 14. POST=POST+1 15. DE LO CONTRARIO 16. LA SUMA ES NEGATIVA, Y EL RESULTADO FUE: X 17. FIN-SI 18. N=N+1 19. FIN-SI 20. FIN