SlideShare una empresa de Scribd logo
UNIVERSIDAD "FERMÍN TORO"
SISTEMA INTERACTIVOS DE EDUCACIÓN A DISTANCIA. (SAIA)
CABUDARE.
UNIDAD I
Ejercicios Secuenciales
APELLIDO Y NOMBRE: DAIVER VILLALOBOS
SECCIÓN: SAIA A 2019/02
N° DE LA ACTIVIDAD: UNIDAD II
FECHA: 03 AGOSTO 2019
PROFESOR: ESTEBAN TORREALBA
1. DISEÑE UN ALGORITMO QUE RECIBA COMO ENTRADA EL NUMERO DE CEDULA,
EL NOMBRE Y APELLIDO DE UNA PERSONA Y SU PROFESIÓN Y LOS IMPRIMAPOR
PANTALLA (VALOR 1%)
ALGORITMO DATOS;
INICIODEL ALGORITMO IMPRESIÓN;
VARIABLE;
NOMBRE;
PROFESION=ALFANUMERICO
N-CEDULA=ENTERO
INICIO
IMPRIMIR (´´ESCRIBA NOMBRE Y APELLIDO:´´);
LEER (´´NOMBRE´´)
IMPRIMIR (´´ESCRIBA PROFESION:´´);
LEER (´´PROFESION´´);
IMPRIMIR (´´NUMERO DE CEDULA:´´);
LEER (´´N-CEDULA´´);
IMPRIMIR (´´NOMBRE´´);
IMPRIMIR (´´PROFESION´´);
IMPRIMIR (´´N-CEDULA´´);
FIN
2. DISEÑE UN ALGORITMO QUE PIDA POR TECLADO DOS NÚMEROS ENTEROS Y
MUESTRE SU SUMA, RESTA, MULTIPLICACIÓN Y DIVISIÓN POR PANTALLA ADEMÁS
DE LOS NÚMEROS LEÍDOS. (VALOR 2%)
VARIABLES
num1:=0; resta:=0;
num2:=0; multiplicación:=0;
suma:=0; división:=0;
INICIO
IMPRIMIR (´´ESCRIBA EL PRIMER NUMERO´´);
LEER (´´num1´´);
IMPRIMIR (´´ESCRIBA SEGUNDO NUMERO´´);
LEER (´´num2´´);
suma= num1+num2;
resta= num1-num2;
multiplicación=num1*num2;
división=num1/num2;
IMPRIMIR (´´EL PRIMER NUMERO INGRESADOES: ´´, num1);
IMPRIMIR (´´EL SEGUNDO NUMERO INGRESADOES: ´´, num2);
IMPRIMIR (´´LA SUMATORIA ES: ´´, suma);
IMPRIMIR (´´LA RESTA ES: ´´, resta);
IMPRIMIR (´´LA MULTIPLICACION ES: ´´, multiplicación);
IMPRIMIR (´´LA DIVISION ES:´´, división);
FIN
3. A UN TRABAJADOR LE PAGAN SEGÚN SUS HORAS TRABAJADAS MÁS UNA
TARIFA DE PAGOS POR HORAS. SI LA CANTIDAD DE HORAS TRABAJADAS ES
SUPERIOR A 40, LA TARIFA SE INCREMENTA EN UN 50% PARA LAS HORAS EXTRAS
(CONSIDERANDO QUE CADA HORA EXTRA SE CONTABILIZA DESPUÉS DE LAS 40
HORAS DE LA JORNADA NORMAL). DISEÑE UN ALGORITMO PARA CALCULAR EL
SALARIO DEL TRABAJADOR; DADAS LAS HORAS TRABAJADAS Y LA TARIFA
(VALOR 2%)
ALGORITMO SALARIO-DEL-TRABAJADOR
VARIABLE
HORAS-T, HORAET, PAGOHE,SUELDOT, PAGOH=REALES
INICIO
IMPRIMIR: (“ESCRIBA HORASTRABAJADAS:HORAS-T”);
LEER: (“HORAS-T”);
IMPRIMIR: (“ESCRIBA PAGO PORHORAS:PAGO-H”);
LEER: (“PAGO-H”);
SI HORAS-T > 40 ENTONCES
HORASET=40-HORAS-T
PAGOHE=HORAE*PAGOH*0,50
SUELDOT= (40*PAGOH) +PAGOHE
SINO
SUELDOT=HORAS-T*PAGOH
IMPRIMIR (´SALARIOTOTAL ES.,SUELDOT´);
FIN

Más contenido relacionado

Último

La revolución de Netflix redefiniendo las películas, la televisión, el arte y...
La revolución de Netflix redefiniendo las películas, la televisión, el arte y...La revolución de Netflix redefiniendo las películas, la televisión, el arte y...
La revolución de Netflix redefiniendo las películas, la televisión, el arte y...
NoraRoberts5
 
COMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNET
COMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNETCOMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNET
COMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNET
Kevin Aguilar Garcia
 
ESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidad
ESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidadESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidad
ESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidad
jorgejhonatanaltamir1
 
FICHA DE EDUCACIÓN RELIGIOSA 17 DE CTUBRE LA oracion.docx
FICHA DE EDUCACIÓN RELIGIOSA  17 DE CTUBRE LA  oracion.docxFICHA DE EDUCACIÓN RELIGIOSA  17 DE CTUBRE LA  oracion.docx
FICHA DE EDUCACIÓN RELIGIOSA 17 DE CTUBRE LA oracion.docx
EmilyEsmeraldaQuispe
 
APLICACIONES DE INTERNET-INFORMATICA.pptx
APLICACIONES DE INTERNET-INFORMATICA.pptxAPLICACIONES DE INTERNET-INFORMATICA.pptx
APLICACIONES DE INTERNET-INFORMATICA.pptx
cpadua713
 
SLIDESHARE, qué es, ventajas y desventajas
SLIDESHARE, qué es, ventajas y desventajasSLIDESHARE, qué es, ventajas y desventajas
SLIDESHARE, qué es, ventajas y desventajas
ruthechepurizaca
 
Oruam, el pequeño y el gran carismatico mago
Oruam, el pequeño y el gran carismatico magoOruam, el pequeño y el gran carismatico mago
Oruam, el pequeño y el gran carismatico mago
ChichipeSevillaJhost
 
Oración a Pomba Gira María Padilha .docx
Oración a Pomba Gira María Padilha .docxOración a Pomba Gira María Padilha .docx
Oración a Pomba Gira María Padilha .docx
LuisAlbertoCordovaBa
 
MONOGRAFRIA GOOGLE (grupo 1ro de google).pdf
MONOGRAFRIA GOOGLE (grupo 1ro de google).pdfMONOGRAFRIA GOOGLE (grupo 1ro de google).pdf
MONOGRAFRIA GOOGLE (grupo 1ro de google).pdf
darilpisco021
 
Análisis de Crowdfunding con el maestro Tapia de Artes
Análisis de Crowdfunding con el maestro Tapia de ArtesAnálisis de Crowdfunding con el maestro Tapia de Artes
Análisis de Crowdfunding con el maestro Tapia de Artes
al050121024
 
extraccion-de-alcaloides-de-la-planta-de-coca.pdf
extraccion-de-alcaloides-de-la-planta-de-coca.pdfextraccion-de-alcaloides-de-la-planta-de-coca.pdf
extraccion-de-alcaloides-de-la-planta-de-coca.pdf
JENNYMARITZAHUILLCAR
 
PPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales (2).pdf
PPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales  (2).pdfPPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales  (2).pdf
PPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales (2).pdf
josenestorlopezquisp1
 
COMO EVOLUCIONO LAS WEB EN PLENO 2024.docx
COMO EVOLUCIONO LAS WEB EN PLENO 2024.docxCOMO EVOLUCIONO LAS WEB EN PLENO 2024.docx
COMO EVOLUCIONO LAS WEB EN PLENO 2024.docx
Jean Apellidos
 
Sesión N°10 / Monografía sobre la inteligencia artifical
Sesión N°10 / Monografía sobre la inteligencia artificalSesión N°10 / Monografía sobre la inteligencia artifical
Sesión N°10 / Monografía sobre la inteligencia artifical
Angeles del Rosario Escobar Mendoza
 

Último (14)

La revolución de Netflix redefiniendo las películas, la televisión, el arte y...
La revolución de Netflix redefiniendo las películas, la televisión, el arte y...La revolución de Netflix redefiniendo las películas, la televisión, el arte y...
La revolución de Netflix redefiniendo las películas, la televisión, el arte y...
 
COMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNET
COMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNETCOMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNET
COMUNIDADES DE APRENDIZAJE EN EL CURSO DE APLICACIONES PARA INTERNET
 
ESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidad
ESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidadESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidad
ESTUDIANTES BENEFICIARIOS que se suman a los beneficios de la universidad
 
FICHA DE EDUCACIÓN RELIGIOSA 17 DE CTUBRE LA oracion.docx
FICHA DE EDUCACIÓN RELIGIOSA  17 DE CTUBRE LA  oracion.docxFICHA DE EDUCACIÓN RELIGIOSA  17 DE CTUBRE LA  oracion.docx
FICHA DE EDUCACIÓN RELIGIOSA 17 DE CTUBRE LA oracion.docx
 
APLICACIONES DE INTERNET-INFORMATICA.pptx
APLICACIONES DE INTERNET-INFORMATICA.pptxAPLICACIONES DE INTERNET-INFORMATICA.pptx
APLICACIONES DE INTERNET-INFORMATICA.pptx
 
SLIDESHARE, qué es, ventajas y desventajas
SLIDESHARE, qué es, ventajas y desventajasSLIDESHARE, qué es, ventajas y desventajas
SLIDESHARE, qué es, ventajas y desventajas
 
Oruam, el pequeño y el gran carismatico mago
Oruam, el pequeño y el gran carismatico magoOruam, el pequeño y el gran carismatico mago
Oruam, el pequeño y el gran carismatico mago
 
Oración a Pomba Gira María Padilha .docx
Oración a Pomba Gira María Padilha .docxOración a Pomba Gira María Padilha .docx
Oración a Pomba Gira María Padilha .docx
 
MONOGRAFRIA GOOGLE (grupo 1ro de google).pdf
MONOGRAFRIA GOOGLE (grupo 1ro de google).pdfMONOGRAFRIA GOOGLE (grupo 1ro de google).pdf
MONOGRAFRIA GOOGLE (grupo 1ro de google).pdf
 
Análisis de Crowdfunding con el maestro Tapia de Artes
Análisis de Crowdfunding con el maestro Tapia de ArtesAnálisis de Crowdfunding con el maestro Tapia de Artes
Análisis de Crowdfunding con el maestro Tapia de Artes
 
extraccion-de-alcaloides-de-la-planta-de-coca.pdf
extraccion-de-alcaloides-de-la-planta-de-coca.pdfextraccion-de-alcaloides-de-la-planta-de-coca.pdf
extraccion-de-alcaloides-de-la-planta-de-coca.pdf
 
PPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales (2).pdf
PPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales  (2).pdfPPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales  (2).pdf
PPT_QUÍMICA GENERAL_TEO_SEM-09_SESIÓN-17_2024_Gases ideales (2).pdf
 
COMO EVOLUCIONO LAS WEB EN PLENO 2024.docx
COMO EVOLUCIONO LAS WEB EN PLENO 2024.docxCOMO EVOLUCIONO LAS WEB EN PLENO 2024.docx
COMO EVOLUCIONO LAS WEB EN PLENO 2024.docx
 
Sesión N°10 / Monografía sobre la inteligencia artifical
Sesión N°10 / Monografía sobre la inteligencia artificalSesión N°10 / Monografía sobre la inteligencia artifical
Sesión N°10 / Monografía sobre la inteligencia artifical
 

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 Hubspot
Marius 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 ChatGPT
Expeed 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 Engineerings
Pixeldarts
 
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
ThinkNow
 
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
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
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
Neil 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 2024
Albert 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 Insights
Kurio // 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 2024
Search 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 summary
SpeakerHub
 
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 Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit 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 management
MindGenius
 
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...
 

Ejercicios Secuenciales

  • 1. UNIVERSIDAD "FERMÍN TORO" SISTEMA INTERACTIVOS DE EDUCACIÓN A DISTANCIA. (SAIA) CABUDARE. UNIDAD I Ejercicios Secuenciales APELLIDO Y NOMBRE: DAIVER VILLALOBOS SECCIÓN: SAIA A 2019/02 N° DE LA ACTIVIDAD: UNIDAD II FECHA: 03 AGOSTO 2019 PROFESOR: ESTEBAN TORREALBA
  • 2. 1. DISEÑE UN ALGORITMO QUE RECIBA COMO ENTRADA EL NUMERO DE CEDULA, EL NOMBRE Y APELLIDO DE UNA PERSONA Y SU PROFESIÓN Y LOS IMPRIMAPOR PANTALLA (VALOR 1%) ALGORITMO DATOS; INICIODEL ALGORITMO IMPRESIÓN; VARIABLE; NOMBRE; PROFESION=ALFANUMERICO N-CEDULA=ENTERO INICIO IMPRIMIR (´´ESCRIBA NOMBRE Y APELLIDO:´´); LEER (´´NOMBRE´´) IMPRIMIR (´´ESCRIBA PROFESION:´´); LEER (´´PROFESION´´); IMPRIMIR (´´NUMERO DE CEDULA:´´); LEER (´´N-CEDULA´´); IMPRIMIR (´´NOMBRE´´); IMPRIMIR (´´PROFESION´´); IMPRIMIR (´´N-CEDULA´´); FIN
  • 3. 2. DISEÑE UN ALGORITMO QUE PIDA POR TECLADO DOS NÚMEROS ENTEROS Y MUESTRE SU SUMA, RESTA, MULTIPLICACIÓN Y DIVISIÓN POR PANTALLA ADEMÁS DE LOS NÚMEROS LEÍDOS. (VALOR 2%) VARIABLES num1:=0; resta:=0; num2:=0; multiplicación:=0; suma:=0; división:=0; INICIO IMPRIMIR (´´ESCRIBA EL PRIMER NUMERO´´); LEER (´´num1´´); IMPRIMIR (´´ESCRIBA SEGUNDO NUMERO´´); LEER (´´num2´´); suma= num1+num2; resta= num1-num2; multiplicación=num1*num2; división=num1/num2; IMPRIMIR (´´EL PRIMER NUMERO INGRESADOES: ´´, num1); IMPRIMIR (´´EL SEGUNDO NUMERO INGRESADOES: ´´, num2); IMPRIMIR (´´LA SUMATORIA ES: ´´, suma); IMPRIMIR (´´LA RESTA ES: ´´, resta); IMPRIMIR (´´LA MULTIPLICACION ES: ´´, multiplicación); IMPRIMIR (´´LA DIVISION ES:´´, división); FIN
  • 4. 3. A UN TRABAJADOR LE PAGAN SEGÚN SUS HORAS TRABAJADAS MÁS UNA TARIFA DE PAGOS POR HORAS. SI LA CANTIDAD DE HORAS TRABAJADAS ES SUPERIOR A 40, LA TARIFA SE INCREMENTA EN UN 50% PARA LAS HORAS EXTRAS (CONSIDERANDO QUE CADA HORA EXTRA SE CONTABILIZA DESPUÉS DE LAS 40 HORAS DE LA JORNADA NORMAL). DISEÑE UN ALGORITMO PARA CALCULAR EL SALARIO DEL TRABAJADOR; DADAS LAS HORAS TRABAJADAS Y LA TARIFA (VALOR 2%) ALGORITMO SALARIO-DEL-TRABAJADOR VARIABLE HORAS-T, HORAET, PAGOHE,SUELDOT, PAGOH=REALES INICIO IMPRIMIR: (“ESCRIBA HORASTRABAJADAS:HORAS-T”); LEER: (“HORAS-T”); IMPRIMIR: (“ESCRIBA PAGO PORHORAS:PAGO-H”); LEER: (“PAGO-H”); SI HORAS-T > 40 ENTONCES HORASET=40-HORAS-T PAGOHE=HORAE*PAGOH*0,50 SUELDOT= (40*PAGOH) +PAGOHE SINO SUELDOT=HORAS-T*PAGOH IMPRIMIR (´SALARIOTOTAL ES.,SUELDOT´); FIN