SlideShare una empresa de Scribd logo
1 de 7
pseudocodigo
PROFESORA:
YANITZA ARREAZA
• BARCELONA 24 DE JUlIO DEL 2016
ALUMNO
JESUS DUQUE
18420283
EJERCICIO N 01
1 . En una empresa le aumentaran el
salario de los empleados de acuerdo
a la escala salarial que se encuentre:
5%,10%,y 15% a los empleados en la
escalas 1, 2 , y 3 respectivamente y
20% para cualquier otra escala,
diseñe un pseudocódigo para calcular
el nuevo salario del empleado de
acuerdo a la escala salarial
• INICIO
• LEER SA
• LEER ES
• SI ES: 1
• ENTONCES PA: 0.05
• SI NO
• SI ES : 2
• ENTONCES
• PA: 0,10
• SI NO
• SI ES: 3
• PA: 0,15
• SI NO
• PA: 0,20
• FIN SI
• SIN SI
• SIN SI
• VA: SAXPA
• NS: SAPA
• ESCRIBIR NS
fin
Ejercicio 02
2 un profesor incentivaran a los alumnos
que obtengan promedio final mayor que
98% asignándoles una nota final de 100%.
Si se realizaron 3 exámenes valorados en
80% y un acumulativo valorado en 20%,
calcule la nota final obtenida promedia de
un alumno mediante un pseucodigo
INICIO
VARIABLE REAL E1,E2,E3,A,NF,PE,PA
ESCRIBIR «NOTA DEL PRIMER EXAMEN»
LEER (E1)
ESCRIBIR «NOTA DEL SEGUNDO EXAMEN»
LEER (E2)
ESCRIBIR «NOTA DEL TERCER EXAMEN»
LEER (E3)
ESCRIBIR «NOTA DEL ACUMULATIVO»
LEER (A)
PE= (E1,E2,E3)*0.8
3
PA=A*0.2
NF=PE PA
ESCRIBIR «ESCRIBIR NOTA FINAL DE UN ALUMNO ES; NF»
FIN
• EJERCICIO 03
3 CALCULAR EL VALOR EL PAGAR POR LA COMPRA
DE MEDICINAS EN UNA FARMACIA, SABIENDO
QUE EL ADULTO MAYOR ( PERSONA S CON EDAD
MAYOR O IGUAL A 60 AÑOS ) TIENE POR LEY ,
DERECHO AL 20% DE DESCUENTO EN LAS
FARMACIAS , ADEMAS ESTRA FARMACIA TIENE LA
POLITICA DE OTORGAR UN 15% SI SE TRATA DE UN
INFANTE MENOR DE 10 AÑOS Y DEL 10%EN
CUALQUIER OTRO CASO, ESTA POLITICA DE
DESCUENTO SE APLICA UNICAMENTE A LAS
MEDICINAS
Inicio
Variable entera E, Cm
Variable real: VT ,Pm , V
Escribir « ingresa la edad del cliente»
Leer «E»
Escribir «ingrese cantidad de medicinas»
Leer «PM»
V=CM*PM
SI « E>=60 entonces»
VT=V*0.2
Sino
Si «E<10» entonces
VT=V*0.5
Sino
VT= «V*0.1»
Fin sino
Escribir «valor total a pagar es ; VT»
FIN

Más contenido relacionado

Último

Antenas, tipos de antenas, diseño basico de una antena y parámetros.pdf
Antenas, tipos de antenas, diseño basico de una antena y parámetros.pdfAntenas, tipos de antenas, diseño basico de una antena y parámetros.pdf
Antenas, tipos de antenas, diseño basico de una antena y parámetros.pdf
perezreyesalberto10
 
Mapas Conceptuales finales Rubén finales.pptx
Mapas Conceptuales finales Rubén finales.pptxMapas Conceptuales finales Rubén finales.pptx
Mapas Conceptuales finales Rubén finales.pptx
jose880240
 

Último (8)

Presentacion Seguridad y Privacidad en la Web
Presentacion Seguridad y Privacidad en la WebPresentacion Seguridad y Privacidad en la Web
Presentacion Seguridad y Privacidad en la Web
 
Corte de luz 2024 Guayaquil Guayas ecuad
Corte de luz 2024 Guayaquil Guayas ecuadCorte de luz 2024 Guayaquil Guayas ecuad
Corte de luz 2024 Guayaquil Guayas ecuad
 
¡Descubre el Poder del Masaje Holístico en nuestra Primera Sesión del Seminar...
¡Descubre el Poder del Masaje Holístico en nuestra Primera Sesión del Seminar...¡Descubre el Poder del Masaje Holístico en nuestra Primera Sesión del Seminar...
¡Descubre el Poder del Masaje Holístico en nuestra Primera Sesión del Seminar...
 
P7_E1_DanielPoza.pdf Los avances en los sistemas de comunicascion y su difusi...
P7_E1_DanielPoza.pdf Los avances en los sistemas de comunicascion y su difusi...P7_E1_DanielPoza.pdf Los avances en los sistemas de comunicascion y su difusi...
P7_E1_DanielPoza.pdf Los avances en los sistemas de comunicascion y su difusi...
 
Antenas, tipos de antenas, diseño basico de una antena y parámetros.pdf
Antenas, tipos de antenas, diseño basico de una antena y parámetros.pdfAntenas, tipos de antenas, diseño basico de una antena y parámetros.pdf
Antenas, tipos de antenas, diseño basico de una antena y parámetros.pdf
 
Mapas Conceptuales finales Rubén finales.pptx
Mapas Conceptuales finales Rubén finales.pptxMapas Conceptuales finales Rubén finales.pptx
Mapas Conceptuales finales Rubén finales.pptx
 
tabla-bacterias-1-0-179241-downloadable-3772106.pdf
tabla-bacterias-1-0-179241-downloadable-3772106.pdftabla-bacterias-1-0-179241-downloadable-3772106.pdf
tabla-bacterias-1-0-179241-downloadable-3772106.pdf
 
Emprende en SPA Segundo día CENEC Mexico
Emprende en SPA Segundo día CENEC MexicoEmprende en SPA Segundo día CENEC Mexico
Emprende en SPA Segundo día CENEC Mexico
 

Destacado

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
Kurio // The Social Media Age(ncy)
 

Destacado (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

pseudocodigo programacion

  • 1. pseudocodigo PROFESORA: YANITZA ARREAZA • BARCELONA 24 DE JUlIO DEL 2016 ALUMNO JESUS DUQUE 18420283
  • 2. EJERCICIO N 01 1 . En una empresa le aumentaran el salario de los empleados de acuerdo a la escala salarial que se encuentre: 5%,10%,y 15% a los empleados en la escalas 1, 2 , y 3 respectivamente y 20% para cualquier otra escala, diseñe un pseudocódigo para calcular el nuevo salario del empleado de acuerdo a la escala salarial
  • 3. • INICIO • LEER SA • LEER ES • SI ES: 1 • ENTONCES PA: 0.05 • SI NO • SI ES : 2 • ENTONCES • PA: 0,10 • SI NO • SI ES: 3 • PA: 0,15 • SI NO • PA: 0,20 • FIN SI • SIN SI • SIN SI • VA: SAXPA • NS: SAPA • ESCRIBIR NS fin
  • 4. Ejercicio 02 2 un profesor incentivaran a los alumnos que obtengan promedio final mayor que 98% asignándoles una nota final de 100%. Si se realizaron 3 exámenes valorados en 80% y un acumulativo valorado en 20%, calcule la nota final obtenida promedia de un alumno mediante un pseucodigo
  • 5. INICIO VARIABLE REAL E1,E2,E3,A,NF,PE,PA ESCRIBIR «NOTA DEL PRIMER EXAMEN» LEER (E1) ESCRIBIR «NOTA DEL SEGUNDO EXAMEN» LEER (E2) ESCRIBIR «NOTA DEL TERCER EXAMEN» LEER (E3) ESCRIBIR «NOTA DEL ACUMULATIVO» LEER (A) PE= (E1,E2,E3)*0.8 3 PA=A*0.2 NF=PE PA ESCRIBIR «ESCRIBIR NOTA FINAL DE UN ALUMNO ES; NF» FIN
  • 6. • EJERCICIO 03 3 CALCULAR EL VALOR EL PAGAR POR LA COMPRA DE MEDICINAS EN UNA FARMACIA, SABIENDO QUE EL ADULTO MAYOR ( PERSONA S CON EDAD MAYOR O IGUAL A 60 AÑOS ) TIENE POR LEY , DERECHO AL 20% DE DESCUENTO EN LAS FARMACIAS , ADEMAS ESTRA FARMACIA TIENE LA POLITICA DE OTORGAR UN 15% SI SE TRATA DE UN INFANTE MENOR DE 10 AÑOS Y DEL 10%EN CUALQUIER OTRO CASO, ESTA POLITICA DE DESCUENTO SE APLICA UNICAMENTE A LAS MEDICINAS
  • 7. Inicio Variable entera E, Cm Variable real: VT ,Pm , V Escribir « ingresa la edad del cliente» Leer «E» Escribir «ingrese cantidad de medicinas» Leer «PM» V=CM*PM SI « E>=60 entonces» VT=V*0.2 Sino Si «E<10» entonces VT=V*0.5 Sino VT= «V*0.1» Fin sino Escribir «valor total a pagar es ; VT» FIN