Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Proceso Genero:
1
PROGRAMA DE INGENIERIA INDUSTRIAL ANGIE MARCELA BERMUDEZ: 1910221-3751
ALGORITMIA Y PROGRAMACION BRANDON STEVENS RIVAS: 1910204-3751
PROFESOR: YESID OSPITIA MEDINA CODIGO: 750001M
GRUPO: 07
Salidas:
Clasificación del género, Clasificación de percepción emocional. Entero
ALGORITMO EN PSEUDOCÓDIGO
DECLARACION DE LA FUNCION
Hallar cantidades tono (t: entero) {
Si((t==1)or(t==2)or(t==3)or(t==4)or(t==5)or(t==6)or(t==7)):
Retornar t
}
Hallar cantidades modo (mt: entero) {
Si ((mt==1)or(mt==2)):
Retornar mt
}
Hallar cantidades tempo (tem: entero) {
Si (tem>=40) and (tem<=250)):
Retornar tem
}
2
PROGRAMA DE INGENIERIA INDUSTRIAL ANGIE MARCELA BERMUDEZ: 1910221-3751
ALGORITMIA Y PROGRAMACION BRANDON STEVENS RIVAS: 1910204-3751
PROFESOR: YESID OSPITIA MEDINA CODIGO: 750001M
GRUPO: 07
def percepcion(t,mt,tem):
if(((t==1)or(t==2)or(t==3)or(t==4)or(t==5)or(t==6)or(t==7))and(mt==2)and((tem>=80)an
d(tem<=140))):
print("clasificacion emocional:Feliz =)")
else:
if(((t==1)or(t==2)or(t==3)or(t==4)or(t==5)or(t==6)or(t==7))and(mt==1)and((tem>=30)an
d(tem<=79))):
print("clasificacion emocional:Triste =(")
else:
print("Percepcion emocional no clasificada")
3
PROGRAMA DE INGENIERIA INDUSTRIAL ANGIE MARCELA BERMUDEZ: 1910221-3751
ALGORITMIA Y PROGRAMACION BRANDON STEVENS RIVAS: 1910204-3751
PROFESOR: YESID OSPITIA MEDINA CODIGO: 750001M
GRUPO: 07
PRUEBA DE ESCRITORIO
Total Total
dinero dinero Total
Cantidad Cantidad Utilidad
recaudado recaudado dinero
boletas boletas total del
venta venta gastado por
Adultos Niños teatro
boletas boletas el teatro
para adulto para niño
50 25 500000 125000 350000 275000
100 50 1000000 250000 500000 750000