Programacion

Páginas: 2 (308 palabras) Publicado: 7 de agosto de 2014
EJERCICIOS DIAGRAMA DE FLUJO Y PSUDOCODIGO
1. INGRESAR LA BASE Y LA POTENCIA Y DETERMINAR SI EL NÚMERO ES MAYOR DE 100
2. DETERMINAR SI 01 “LETRA” INGRESADA ES UNA VOCAL O UNA CONSONANTE
3.DETERMINAR SI EL NÚMERO INGRESADO EN EL RANGO DETERMINADO, EL RANGO ES ENTRE 20 A 40 Y ENTRE 60 A 90
4. DETERMINAR EL MAYOR, MENOR, SUMA Y PROMEDIO DE 3 NÚMEROS ENTEROS
5. DETERMINAR SI EL NUMEROINGRESADO ES MÚLTIPLO DE 5
6. DETERMINAR SI EL NUMERO INGRESADO TERMINA EN 7
7. DETERMINAR SI EL NUMERO INGRESADO ES MÚLTIPLO DE 3 O 7
8. DETERMINAR SI EL NUMERO INGRESADO ESTA ENTRE 501 Y 999
9.DETERMINAR SI EL NÚMERO INGRESADO ESTA ENTRE 101 Y 399 O ENTRE 1001 Y 1999.
10. DETERMINAR CUANTAS DECENAS TIENE UN NUMERO INGRESADO
11. DETERMINAR SI EL NUMERO PAR INGRESADO ES PAR POSITIVO O PARNEGATIVO
12. DETERMINAR SI EL NUMERO INGRESADO ES CERO O NO
13. Determinar si el número ingresado es cero, positivo o negativo, adicionalmente determinar si el numero si no es cero, si es par o impar.
14.permita determinar el salario neto de un empleado solo ingresando las horas trabajadas e ingresando la retención (“A” para AFP u “O” para ONP) y el cargo (“I” para ingeniero, “T” para Técnico y “O”para operario)teniendo en cuenta lo siguiente:
a. Horas trabajadas normales hasta 176 horas
b. Horas extras las que superan las 176

Pago por hora
Ingeniero = S/ 15.00 por hora
Técnico = S/.12.00 por hora
Operario = S/. 10.00 por hora
Pago por Hora extra:
S/. 4 adicionales al pago por hora normal
S. Bruto = Horas Trabajadas x Pago por hora
Descuentos = S. Bruto x retención
S.Neto = S. bruto – Descuentos
Retention
AFP = 11.0%
ONP = 12.5%
Mostrar al final el sueldo bruto, los descuentos y el sueldo neto
Nota: ingrese horas hasta máximo 200 horas


15.Realizar un programa que dependiendo del precio que ingrese le aplique un descuento
Precio menor a S/. 1,000
12%
Precio menor a S/. 2,500
15%
Precio menor a S/. 4,000
17%
Precio a partir de S/....
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Programación
  • Programacion
  • Programacion
  • Programación
  • Programacion
  • Programacion
  • Programacion
  • Programacion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS