Вы находитесь на странице: 1из 5

TRABAJO DE ALGORITMOS

CCALA ACHAHUANCO MICHAEL RUBEN

Ejercicio1

1. inicio
2. leer b,h
3. hacer área=b*h
4. escribir área
5. fin
Ejercicio 2

1. inicio
2. leer pesos
3. hacer dolares=pesos/19.00776
4. escribir dólares
5. fin
EJERCICIO 3

1. INICIO
2. LEER A_NACIMIENTO
3. HACER EDAD=2019-A_NACIMIENTO
4. ESCRIBIR EDAD
5. FIN
Ejercicio4

1. Inicio
2. Leer hrsdeplaya,mindeplaya,precioxhora
3. Si mindeplaya>29
Entonces
Hacer cobro=(hrsdeplaya+1)*precioxhora

Sino

Hacer cobro=hrsdeplaya*precioxhora

Fin de comparación

4.escribir cobro

5.fin
Ejercicio 5

1. Inicio
2. Leer metros,precioxmetro
3. Hacer cobro=metros*precioxmetro
4. Escribir cobro
5. Fin

Вам также может понравиться