SlideShare una empresa de Scribd logo
1 de 2
Republica Bolivariana de Venezuela
               Ministerio del Poder Popular Para la Defensa
              Universidad Nacional Experimental Politécnica
                      de la Fuerza Armada Nacional
                               Núcleo Apure




    Profesor:                                           Integrantes:
Layerson Gutiérrez                                    Márquez Génesis
                                                         20.092.425
                                                       Rivero Pedro
                                                        XX.XXX.XXX
                                                         6S4IAZ_TA




                     San Fernando, Octubre del 2009
EJERCICIOS PROPUESTOS
4. Hacer un algoritmo que lea una serie de valores y que cada valor leído,
si es positivo le calcule su cuadrado, mientras que si es negativo le
calcule su cubo.


Inicio
         Leer VAL
         Mientras VAL <> 0
         Si VAL >0 Entonces
         Calcular (VAL)2
         Sino
         Si VAL < 0 entonces
         Calcular (VAL)3
         Fin si
         Fin si
Fin

8. Hacer un programa que lea una serie de horas trabajadas y el sueldo
por horas de cada empleado de una empresa y valla calculando el monto
el monto que se le debe pagar, se mostrara este monto y además si este
es mayor a 5000 Bs.F se imprimirá “cheque” mientras que si es menor se
imprimirá “efectivo”

Inicio
         Indicar la cantidad de empleados “CE”
         Para 1=1 hasta CE
         Introduzca el sueldo por hora “SH”
         Introduzca horas trabajadas por empleados “HT”
         Sueldo a pagar “SP” SH*HT
         Calcular SP
         Mostrar SP
         Si SP > 5000 Bs.F
         Introduzca el número de empleados “NE”
         Imprimir “CHEQUE”
         Sino
         Imprimir “EFECTIVO”
         Fin si
         Fin si
Fin

Más contenido relacionado

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)

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...
 
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
 

E J E R C I C I O S

  • 1. Republica Bolivariana de Venezuela Ministerio del Poder Popular Para la Defensa Universidad Nacional Experimental Politécnica de la Fuerza Armada Nacional Núcleo Apure Profesor: Integrantes: Layerson Gutiérrez Márquez Génesis 20.092.425 Rivero Pedro XX.XXX.XXX 6S4IAZ_TA San Fernando, Octubre del 2009
  • 2. EJERCICIOS PROPUESTOS 4. Hacer un algoritmo que lea una serie de valores y que cada valor leído, si es positivo le calcule su cuadrado, mientras que si es negativo le calcule su cubo. Inicio Leer VAL Mientras VAL <> 0 Si VAL >0 Entonces Calcular (VAL)2 Sino Si VAL < 0 entonces Calcular (VAL)3 Fin si Fin si Fin 8. Hacer un programa que lea una serie de horas trabajadas y el sueldo por horas de cada empleado de una empresa y valla calculando el monto el monto que se le debe pagar, se mostrara este monto y además si este es mayor a 5000 Bs.F se imprimirá “cheque” mientras que si es menor se imprimirá “efectivo” Inicio Indicar la cantidad de empleados “CE” Para 1=1 hasta CE Introduzca el sueldo por hora “SH” Introduzca horas trabajadas por empleados “HT” Sueldo a pagar “SP” SH*HT Calcular SP Mostrar SP Si SP > 5000 Bs.F Introduzca el número de empleados “NE” Imprimir “CHEQUE” Sino Imprimir “EFECTIVO” Fin si Fin si Fin