SlideShare una empresa de Scribd logo
1 de 23
Algoritmos
NOMBRE: JUAN JOSÉ
VIEYRA Y MIGUEL
VELÁSQUEZ
GRADO: 2 BIMESTRE
GRUPO: 204
MAESTRA: GABRIELA
VÁSQUEZ
MATERIA:
INFORMÁTICA
1.- Como preparar una taza con café

Algoritmos

1.- inicio

2.- taza, agua, café, azúcar, cuchara

3.- taza con café= agua +café +azúcar +cuchara

4.-taza de café

5.- fin



                                                 Inicio




                                           Taza de café=
                                           agua +azúcar
                                             +cuchara




                                        Taza de café = agua
                                         +café + azúcar +
                                              cuchara




                                          Taza de café




                                                 Fin
2.- multiplicar dos números

1.- inicio

2.- a, b, . C

3.- c= a.b

4.- c

5.- fin                                  Inicio




                                    Multiplicación,
                                         x. y




                                  Multiplicación = x. y




                                     Multiplicación




                                           Fin


3.-sacar la edad de una persona
1.- inicio

2.-edad, fecha actual, fecha de nacimiento

3.-edad= fecha actual- fecha de nacimiento

4.-edad

5.-fin
                                               Inicio




                                      3.-sacar la edad de
                                      una persona
                                           Edad, fecha
                                          actual, fecha de
                                      1.- inicio
                                            nacimiento

                                      2.-edad, fecha
                                      actual y fecha de
                                      nacimiento
                                       Edad= fecha actual, -
                                       fecha de nacimiento
                                      3.- edad= fecha
                                      actual – fecha de
                                      nacimiento


                                              Edad
                                      3.-sacar la edad de
                                      una persona

                                      1.- inicio

                                      2.-edad, fecha
                                      actual yFin
                                               fecha de
                                      nacimiento
4.- sacar el promedio de 8 materias   3.- edad= fecha
1.- inicio                            actual – fecha de
                                      nacimiento
2.-a, b, c, d, e, f, g, h,

3.-promedio= a+ b+ c+ d+ e+ f+ g+ h /8

4.-promedio

5.-fin


                                               Inicio




                                      3.-sacar la edad de
                                      unaA, b, c, d, e, f, g,
                                           persona
                                                   h
                                      1.- inicio

                                      2.-edad, fecha
                                      actual y fecha de
                                      nacimiento
                                      Promedio= a+ b+ c+ d+
                                           e+ f+ g+ h/8
                                      3.- edad= fecha
                                      actual – fecha de
                                      nacimiento


                                            Promedio
                                      3.-sacar la edad de
                                      una persona

                                      1.- inicio

                                      2.-edad, fecha
                                      actual y Fin
                                               fecha de
                                      nacimiento
5.-sacar el área y el perímetro de un rectángulo fecha
                                        3.- edad=
1.- inicio                            actual – fecha de
                                      nacimiento
2.- altura= a base=b área =c

3.- área = a base*altura

4.- área

5.- Perímetro, a, b, a, b                 Inicio


6.- Perímetro = a+ b + a + b
                                  3.-sacar a, base de
                                   Altura = la edad
                                  una b, área = c
                                     = persona

                                  1.- inicio

                                  2.-edad, fecha
                                       Área = b x a
                                  actual y fecha de
                                  nacimiento

                                  3.- edad= fecha
                                  actual – fecha de
                                           Área
                                  nacimiento



                                  3.-sacar la edad de
                                  una persona a
                                        Perímetro,
                                           ,b ,a, b
                                  1.- inicio

                                  2.-edad, fecha
                                  actual y fechaa de
                                      Perímetro = + b
                                           +a +b
                                  nacimiento

                                  3.- edad= fecha
                                  actual – fecha de
                                            Fin
                                  nacimiento
                                         Perímetro
6.- sacar el área de un círculo

1.- inicio
2.- radio = a, π, área = b

3.- b = π x a x a

4.- b

5.- fin


                                           Inicio




                                   3.-sacar la edad de
                                   una persona ,π
                                        Radio = a
                                          ,área = b
                                   1.- inicio

                                   2.-edad, fecha
                                   actual y fecha de
                                   nacimiento
                                        B=πxaxa

                                   3.- edad= fecha
                                   actual – fecha de
                                   nacimiento


                                             B
                                   3.-sacar la edad de
                                   una persona

                                   1.- inicio

                                   2.-edad, fecha
                                   actual y Fin
                                            fecha de
                                   nacimiento
7.- sacar el binomio al cuadrado   3.- edad= fecha
1.- inicio                         actual – fecha de
                                   nacimiento
2.- A, b, x

3.- A x a = a2 + 2b x b = b2

4.-a2 + ab + b2

5.- fin


                                       Inicio




                               3.-sacar la edad de
                               una persona
                                       A, b ,x
                               1.- inicio

                               2.-edad, fecha
                               actual y fecha de
                               nacimiento
                               Axa = a2 +2b x b = b2
                               3.- edad= fecha
                               actual – fecha de
                               nacimiento



                               3.-sacar ab + b2 de
                                   A2 + la edad

                               una persona

                               1.- inicio

                               2.-edad, fecha
                               actual y Fin
                                        fecha de
                               nacimiento
8.-calcular el IVA             3.- edad= fecha
1.-inicio                      actual – fecha de
                               nacimiento
2.- precio=a resultado =b IVA = 16

3.- a x 16 / 100

4.- b

5.- fin


                                                Inicio




                                        3.-sacar la edad de
                                        una persona a
                                              Precio =
                                             resultado =b
                                        1.- inicio =16
                                                IVA

                                        2.-edad, fecha
                                        actual y fecha de
                                        nacimiento
                                             Ax16 /100
                                        3.- edad= fecha
                                        actual – fecha de
                                        nacimiento


                                                 B
                                        3.-sacar la edad de
                                        una persona

                                        1.- inicio

                                        2.-edad, fecha
                                        actual y Fin
                                                 fecha de
                                        nacimiento
9.- calcular el isr de un trabajador y sacar su salario mínimo
                                          3.- edad= fecha
1.- inicio                              actual – fecha de
                                        nacimiento
2.- A=isr,b=salario, r=impuesto,bt=salario total

3.-r=bxa/a=bt

4.-bt

5.-fin

                             Inicio



                           A = i s r, b =
                            salario, r=
                         impuesto , b t
                          =salario total

                         r=b x a/a= b t




                                BT




                               Fin




10.- calcular el valor del IVA y precio con IVA

1.-inicio
2.-pr = precio del producto, xy= porcentaje, rf =resultado final

3. - PR xy / 100 + PR = RF

4.-rf
                              inicio
5. - fin


                    Pr = precio del
                    producto, xy porcentaje
                    rf = resultado final



                      PR x xy / 100 + PR
                             = RF




                               RF




                             Fin




11.-calcular la edad de un niño
1.- inicio

2.- e= fecha de nacimiento a= año en curso, p= edad para entrar ala primaria

3.-e-a =p

4.- p
                               Inicio
5.- fin



                          e= fecha de
                         nacimiento a=
                         año en curso,
                         p= edad para
                           entrar ala
                            primaria
                             e-a =p




                                p




                               Fin




12.- calcular el salario de un trabajador

1.- inicio
2.- salario, m= salario, mínimo 1 retención

3.-s = sm-1

4.-s                        Inicio

5.- fin



                         Salario, m=
                           salario,
                          mínimo 1
                          retención



                           s = sm-1




                               S




                             Fin




13.- sacar el 20% de descuento…….
1.-inicio

2.- AR = articulo, ve = 20 de =descuento, pc = precio con descuento

3.- AR / 100 x 20 = de         Inicio

4.- ar –de = pc

5.- pc
                     AR = articulo, ve =
6 = fin              20 de =descuento,
                      pc = precio con
                         descuento

                         AR / 100 x 20 = de




                            AR –de = pc




                                 PC




                                 Fin




14.-construye un diagrama de flujo tal que, dados los datos A, B,C y D, que
representan números enteros, escribe los mismos en orden inverso
1.-inicio

2.-A, B, C, D

3.-D, C, B, A

4.-D, C, B, A

5.-fin

                             Inicio




                            A, B, C, D




                           D, C, B, A




                            D, C, B, A




                              Fin




15.-un estudiante obtiene cinco calificaciones a lo largo del semestre.

1.- inicio

2.-c1, c2, c3, c4, c5
Promedio

3.- promedio= c1, c2, c3, c4, c5/5

4.- promedio

5.- fin


                              Inicio




                         C1, c2, c3, c4, c5

                             Promedio




                            Promedio=

                        C1, c2, c3, c4, c5/5




                             Promedio




                                Fin




16.-leer 2 valores distintos, determinar cuál de los 2 es el mayor

1.- inicio

2.-A, B
3.-A>B condicional

4.-Iprimir A, B

5.- fin


                                      Inicio




                                       A, B




                     NO                                 SI
                                      A>B




                     B                                       A




                                        Fin



17.- Lee 3 valores y almacénalos en las variables A, B, C

1.-INICIO

2.-A=1 B=2 C=3
3.-B<C (CONDICIONAL) B

4.-C<A (CONDICIONAL) C

5.- Fin


                             Inicio




                         A=1 B=2 C=3




                             A<C                 SI   A




                                                 SI
                              B<C                     B




                                                SI

                             C<A
                                                      C




                             Fin

18.-                                   Inicio

1.-inicio
2.-n=2
                                    N=2
3.-n

4.- no positivo no, si

5.-n+

6.-fin
                                     N




                                              NO
                                   NO
                                   positivo
                                              SI




                                      NT
                                                   NO

                                                   SI




                                     Fin




19.- LA SUMATORIA DE LOS NUMEROS ENTEROS MULTIPLOS DE 5 ENTRE EL
1Y EL 45

1.-inicio
                                    INICIO
2.-suma=0 n=0

3.-n= tv +1

Suma=suma+

N 0+5                                     SUMA = O N
                                          =O
4.-n=19

5.- mostrar sumatoria = a 100

6.- suma
                                     N = N +1 SUMA = SUMA
7.- fin                              +W +5




                                                                            SUMA
                             NO                             SI
                                              N = 19




                                              SUMA




                                               Fin
20.-leer un valor de n y determinar si es positivo o no si no es positivo

1.- inicio
                                               Inicio
2.- n
3.- n+, si, no

4.- n+
                     N=2
5.- fin




                     NO
                     positivo




                      NT




                      Fin




21.-
                            INICIO
1.- inicio

2.-A, B, C,D, E, F
                       A, B, D, E,
                       F
3.-suma si

4.- G=A+ B+ C + D+ E+ F

5.-G.6

6.-CONSTRUIR PROMEDIO

7.-Promedio A+ B +C+ D+ E+ F/6            SUMA            SI
                                                                 G= a+b+c+d+e+h
8.- PROMEDIO                                              NO     =

9.- FIN
                                                                      G




                                         PROME                 PROMEDIO A + B + C +
                                                          SI
                                         DIO                   D+E+C/6

                                                          NO



                                                                    PROMEDIO
                                        FIN




22.- ELABORAR UN PASTEOL DE CHOCOLATE
                                                 INICIO
1.-INICIO

2.-INTRODUCIR EL PASTEL AL ORNO
                                              PASTEL
3.- PASTEL COCIDO SI OBCIONAL

4.- N= 5 MINUTOS MAS

5.-FIN
                                             PASTE

                                 PASTEL
                                 COCIDO




                                             FIN
                                55 MINUTOS

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

204

  • 1. Algoritmos NOMBRE: JUAN JOSÉ VIEYRA Y MIGUEL VELÁSQUEZ GRADO: 2 BIMESTRE GRUPO: 204 MAESTRA: GABRIELA VÁSQUEZ MATERIA: INFORMÁTICA
  • 2. 1.- Como preparar una taza con café Algoritmos 1.- inicio 2.- taza, agua, café, azúcar, cuchara 3.- taza con café= agua +café +azúcar +cuchara 4.-taza de café 5.- fin Inicio Taza de café= agua +azúcar +cuchara Taza de café = agua +café + azúcar + cuchara Taza de café Fin
  • 3. 2.- multiplicar dos números 1.- inicio 2.- a, b, . C 3.- c= a.b 4.- c 5.- fin Inicio Multiplicación, x. y Multiplicación = x. y Multiplicación Fin 3.-sacar la edad de una persona
  • 4. 1.- inicio 2.-edad, fecha actual, fecha de nacimiento 3.-edad= fecha actual- fecha de nacimiento 4.-edad 5.-fin Inicio 3.-sacar la edad de una persona Edad, fecha actual, fecha de 1.- inicio nacimiento 2.-edad, fecha actual y fecha de nacimiento Edad= fecha actual, - fecha de nacimiento 3.- edad= fecha actual – fecha de nacimiento Edad 3.-sacar la edad de una persona 1.- inicio 2.-edad, fecha actual yFin fecha de nacimiento 4.- sacar el promedio de 8 materias 3.- edad= fecha 1.- inicio actual – fecha de nacimiento
  • 5. 2.-a, b, c, d, e, f, g, h, 3.-promedio= a+ b+ c+ d+ e+ f+ g+ h /8 4.-promedio 5.-fin Inicio 3.-sacar la edad de unaA, b, c, d, e, f, g, persona h 1.- inicio 2.-edad, fecha actual y fecha de nacimiento Promedio= a+ b+ c+ d+ e+ f+ g+ h/8 3.- edad= fecha actual – fecha de nacimiento Promedio 3.-sacar la edad de una persona 1.- inicio 2.-edad, fecha actual y Fin fecha de nacimiento 5.-sacar el área y el perímetro de un rectángulo fecha 3.- edad= 1.- inicio actual – fecha de nacimiento
  • 6. 2.- altura= a base=b área =c 3.- área = a base*altura 4.- área 5.- Perímetro, a, b, a, b Inicio 6.- Perímetro = a+ b + a + b 3.-sacar a, base de Altura = la edad una b, área = c = persona 1.- inicio 2.-edad, fecha Área = b x a actual y fecha de nacimiento 3.- edad= fecha actual – fecha de Área nacimiento 3.-sacar la edad de una persona a Perímetro, ,b ,a, b 1.- inicio 2.-edad, fecha actual y fechaa de Perímetro = + b +a +b nacimiento 3.- edad= fecha actual – fecha de Fin nacimiento Perímetro 6.- sacar el área de un círculo 1.- inicio
  • 7. 2.- radio = a, π, área = b 3.- b = π x a x a 4.- b 5.- fin Inicio 3.-sacar la edad de una persona ,π Radio = a ,área = b 1.- inicio 2.-edad, fecha actual y fecha de nacimiento B=πxaxa 3.- edad= fecha actual – fecha de nacimiento B 3.-sacar la edad de una persona 1.- inicio 2.-edad, fecha actual y Fin fecha de nacimiento 7.- sacar el binomio al cuadrado 3.- edad= fecha 1.- inicio actual – fecha de nacimiento
  • 8. 2.- A, b, x 3.- A x a = a2 + 2b x b = b2 4.-a2 + ab + b2 5.- fin Inicio 3.-sacar la edad de una persona A, b ,x 1.- inicio 2.-edad, fecha actual y fecha de nacimiento Axa = a2 +2b x b = b2 3.- edad= fecha actual – fecha de nacimiento 3.-sacar ab + b2 de A2 + la edad una persona 1.- inicio 2.-edad, fecha actual y Fin fecha de nacimiento 8.-calcular el IVA 3.- edad= fecha 1.-inicio actual – fecha de nacimiento
  • 9. 2.- precio=a resultado =b IVA = 16 3.- a x 16 / 100 4.- b 5.- fin Inicio 3.-sacar la edad de una persona a Precio = resultado =b 1.- inicio =16 IVA 2.-edad, fecha actual y fecha de nacimiento Ax16 /100 3.- edad= fecha actual – fecha de nacimiento B 3.-sacar la edad de una persona 1.- inicio 2.-edad, fecha actual y Fin fecha de nacimiento 9.- calcular el isr de un trabajador y sacar su salario mínimo 3.- edad= fecha 1.- inicio actual – fecha de nacimiento
  • 10. 2.- A=isr,b=salario, r=impuesto,bt=salario total 3.-r=bxa/a=bt 4.-bt 5.-fin Inicio A = i s r, b = salario, r= impuesto , b t =salario total r=b x a/a= b t BT Fin 10.- calcular el valor del IVA y precio con IVA 1.-inicio
  • 11. 2.-pr = precio del producto, xy= porcentaje, rf =resultado final 3. - PR xy / 100 + PR = RF 4.-rf inicio 5. - fin Pr = precio del producto, xy porcentaje rf = resultado final PR x xy / 100 + PR = RF RF Fin 11.-calcular la edad de un niño
  • 12. 1.- inicio 2.- e= fecha de nacimiento a= año en curso, p= edad para entrar ala primaria 3.-e-a =p 4.- p Inicio 5.- fin e= fecha de nacimiento a= año en curso, p= edad para entrar ala primaria e-a =p p Fin 12.- calcular el salario de un trabajador 1.- inicio
  • 13. 2.- salario, m= salario, mínimo 1 retención 3.-s = sm-1 4.-s Inicio 5.- fin Salario, m= salario, mínimo 1 retención s = sm-1 S Fin 13.- sacar el 20% de descuento…….
  • 14. 1.-inicio 2.- AR = articulo, ve = 20 de =descuento, pc = precio con descuento 3.- AR / 100 x 20 = de Inicio 4.- ar –de = pc 5.- pc AR = articulo, ve = 6 = fin 20 de =descuento, pc = precio con descuento AR / 100 x 20 = de AR –de = pc PC Fin 14.-construye un diagrama de flujo tal que, dados los datos A, B,C y D, que representan números enteros, escribe los mismos en orden inverso
  • 15. 1.-inicio 2.-A, B, C, D 3.-D, C, B, A 4.-D, C, B, A 5.-fin Inicio A, B, C, D D, C, B, A D, C, B, A Fin 15.-un estudiante obtiene cinco calificaciones a lo largo del semestre. 1.- inicio 2.-c1, c2, c3, c4, c5
  • 16. Promedio 3.- promedio= c1, c2, c3, c4, c5/5 4.- promedio 5.- fin Inicio C1, c2, c3, c4, c5 Promedio Promedio= C1, c2, c3, c4, c5/5 Promedio Fin 16.-leer 2 valores distintos, determinar cuál de los 2 es el mayor 1.- inicio 2.-A, B
  • 17. 3.-A>B condicional 4.-Iprimir A, B 5.- fin Inicio A, B NO SI A>B B A Fin 17.- Lee 3 valores y almacénalos en las variables A, B, C 1.-INICIO 2.-A=1 B=2 C=3
  • 18. 3.-B<C (CONDICIONAL) B 4.-C<A (CONDICIONAL) C 5.- Fin Inicio A=1 B=2 C=3 A<C SI A SI B<C B SI C<A C Fin 18.- Inicio 1.-inicio
  • 19. 2.-n=2 N=2 3.-n 4.- no positivo no, si 5.-n+ 6.-fin N NO NO positivo SI NT NO SI Fin 19.- LA SUMATORIA DE LOS NUMEROS ENTEROS MULTIPLOS DE 5 ENTRE EL 1Y EL 45 1.-inicio INICIO
  • 20. 2.-suma=0 n=0 3.-n= tv +1 Suma=suma+ N 0+5 SUMA = O N =O 4.-n=19 5.- mostrar sumatoria = a 100 6.- suma N = N +1 SUMA = SUMA 7.- fin +W +5 SUMA NO SI N = 19 SUMA Fin 20.-leer un valor de n y determinar si es positivo o no si no es positivo 1.- inicio Inicio 2.- n
  • 21. 3.- n+, si, no 4.- n+ N=2 5.- fin NO positivo NT Fin 21.- INICIO 1.- inicio 2.-A, B, C,D, E, F A, B, D, E, F
  • 22. 3.-suma si 4.- G=A+ B+ C + D+ E+ F 5.-G.6 6.-CONSTRUIR PROMEDIO 7.-Promedio A+ B +C+ D+ E+ F/6 SUMA SI G= a+b+c+d+e+h 8.- PROMEDIO NO = 9.- FIN G PROME PROMEDIO A + B + C + SI DIO D+E+C/6 NO PROMEDIO FIN 22.- ELABORAR UN PASTEOL DE CHOCOLATE INICIO 1.-INICIO 2.-INTRODUCIR EL PASTEL AL ORNO PASTEL
  • 23. 3.- PASTEL COCIDO SI OBCIONAL 4.- N= 5 MINUTOS MAS 5.-FIN PASTE PASTEL COCIDO FIN 55 MINUTOS