1.- Indicar si un alumno está aprobado calificación mayor o igual de 6 y reprobado en caso
-Autor: ADRIANA ESQUEDA ECHAVERRIA
-Inicio
-Variables C: Numérico Entero
-Escribir “Indica la calificación”
-Leer C
-Si C es mayor de 6 entonces
-Escribir “Aprobado”
-Si C 5 entonces
-Escribir “Reprobado”
-Fin
Prueba de Escritorio
-Si C es igual a 8
-Escribir ‘’Aprobado’’
-Si C es igual a 5
-Escribir ‘’Reprobado’’
2.- En la compra de un pantalón si el precio es mayor de 100 hacer un descuento de 20% y si vale
menos de 100 pesos su descuento es de 10%
-Autor:ADRIANA ESQUEDA ECHAVERRIA
-Inicio
-Variables
2.- EN LA COMPRA DE UN PANTALÓN SI
EL PRECIO ES MAYOR DE 100 HACER UN
DESCUENTO DE 20% Y SI VALE MENOS
DE 100 PESOS SU DESCUENTO ES DE 10%
Autor: ADRIANA ESQUEDA ECHAVERRIA
Inicio
Variables: P Numérico Entero
Si P es mayor a 100
Escribir “Descuento de 20%”
Si P es menor a 100
Escribir “Descuento de 10%”
Fin
PRUEBA DE ESCRITORIO
SI P es iguala 90
Escribir “Descuento de10%”
3.-PROGRAMA QUE INDIQUE LA ENTRADA AL
CINE SI LA PERSONA TIENE MAS DE 18 AÑOS ,
EN CASO CONTRARIA SE LE NIEGA LA
ENTRADA
Autor: ADRIANA ESQUEDA ECHAVERRIA
Inicio
Variables: E Numérico Entero
Si E es mayor de 18
Escribir “entrada aceptada”
Si E es menor de 18
Escribir “entrada negada”
Fin
PRUUEBA DE ESCRITORIO
Si E es igual a 20
Escribir “entrada aceptada”
4.- EL SEÑOR AGUAYON VENDE MARISCOS Y
TIENE 3 PROVEEDORES, EL PRIMER
PROVEEDOR LE OFRECE 100 KILOS DE
CAMARON A $40.00 EL KILO, EL SEGUNDO
PROVEEDOR LE OFRECE 200 KILOS DE
CAMARON A $60.00 EL KILO Y EL TERCER
PROVEEDOR LE OFRECE 150 KILOS DE
CAMARON A $30.00 EL KILO.
EL PROGRAMA DEBERA DE INDICAR CUAL DE
TODOS LOS PROVEEDORES LE OFRECE EL
MEJOR PRECIO POR KILO AL SEÑOR AGUAYON,
TOMANDO LAS DECISIONES NECESARIAS PARA
COMPARAR EL MEJOR DE TODOS.
Autor:ADRIANA ESQUEDA ECHAVERRIA
Inicio
Variables:K,P ,P1,P2,P3 Numérico Entero
Escribir “indicar cuálde todoslos proveedores
le ofreceel mejorprecio porkilo al señor
aguayon”
P1=40P/100K= 0.4
P2=60P/200K=0.3
P3=30P/150K=0.2
Si P1 es menorqueP2
Escribir “MejorPrecio”
Si P1 es menorqueP3
Escribir “MejorPrecio”
Si P2 es menorqueP3”
Escribir “MejorPrecio”
Fin
PRUEBA DE ESCRITORIO
Si 20 es menorque10
Escribir “MejorPrecio”
Si 20 es menorque30
Escribir “MejorPrecio”
Si 10 es menorque30”
Escribir “MejorPrecio”
El mejorPrecio es =$10
5.-EL SEÑOR CUMPLEAÑERO DESEA QUE
REALICES UN PROGRAMA EN DONDE LE
MENCIONECUANTOSDIASTIENECADA MES DE
ESTE AÑO 2015, POR EJEMPLO: SI DAS DE
ENTRADA EL MES DE ENERO, EL PROGRAMA
DEBERA DE DECIRLE QUE TIENE 31 DIAS.
Autor: ADRIANA ESQUEDA ECHAVERRIA
Inicio
Variables: M,D Numerico Entero
Escribir ”Cuantos días tienen los meses del año
2015”

Adriana esqueda

  • 1.
    1.- Indicar siun alumno está aprobado calificación mayor o igual de 6 y reprobado en caso -Autor: ADRIANA ESQUEDA ECHAVERRIA -Inicio -Variables C: Numérico Entero -Escribir “Indica la calificación” -Leer C -Si C es mayor de 6 entonces -Escribir “Aprobado” -Si C 5 entonces -Escribir “Reprobado” -Fin Prueba de Escritorio -Si C es igual a 8 -Escribir ‘’Aprobado’’ -Si C es igual a 5 -Escribir ‘’Reprobado’’ 2.- En la compra de un pantalón si el precio es mayor de 100 hacer un descuento de 20% y si vale menos de 100 pesos su descuento es de 10% -Autor:ADRIANA ESQUEDA ECHAVERRIA -Inicio -Variables
  • 2.
    2.- EN LACOMPRA DE UN PANTALÓN SI EL PRECIO ES MAYOR DE 100 HACER UN DESCUENTO DE 20% Y SI VALE MENOS DE 100 PESOS SU DESCUENTO ES DE 10% Autor: ADRIANA ESQUEDA ECHAVERRIA Inicio Variables: P Numérico Entero Si P es mayor a 100 Escribir “Descuento de 20%” Si P es menor a 100 Escribir “Descuento de 10%” Fin PRUEBA DE ESCRITORIO SI P es iguala 90 Escribir “Descuento de10%” 3.-PROGRAMA QUE INDIQUE LA ENTRADA AL CINE SI LA PERSONA TIENE MAS DE 18 AÑOS , EN CASO CONTRARIA SE LE NIEGA LA ENTRADA Autor: ADRIANA ESQUEDA ECHAVERRIA Inicio Variables: E Numérico Entero Si E es mayor de 18 Escribir “entrada aceptada” Si E es menor de 18 Escribir “entrada negada” Fin PRUUEBA DE ESCRITORIO Si E es igual a 20 Escribir “entrada aceptada”
  • 3.
    4.- EL SEÑORAGUAYON VENDE MARISCOS Y TIENE 3 PROVEEDORES, EL PRIMER PROVEEDOR LE OFRECE 100 KILOS DE CAMARON A $40.00 EL KILO, EL SEGUNDO PROVEEDOR LE OFRECE 200 KILOS DE CAMARON A $60.00 EL KILO Y EL TERCER PROVEEDOR LE OFRECE 150 KILOS DE CAMARON A $30.00 EL KILO. EL PROGRAMA DEBERA DE INDICAR CUAL DE TODOS LOS PROVEEDORES LE OFRECE EL MEJOR PRECIO POR KILO AL SEÑOR AGUAYON, TOMANDO LAS DECISIONES NECESARIAS PARA COMPARAR EL MEJOR DE TODOS. Autor:ADRIANA ESQUEDA ECHAVERRIA Inicio Variables:K,P ,P1,P2,P3 Numérico Entero Escribir “indicar cuálde todoslos proveedores le ofreceel mejorprecio porkilo al señor aguayon” P1=40P/100K= 0.4 P2=60P/200K=0.3 P3=30P/150K=0.2 Si P1 es menorqueP2 Escribir “MejorPrecio” Si P1 es menorqueP3 Escribir “MejorPrecio” Si P2 es menorqueP3” Escribir “MejorPrecio” Fin PRUEBA DE ESCRITORIO Si 20 es menorque10 Escribir “MejorPrecio” Si 20 es menorque30 Escribir “MejorPrecio” Si 10 es menorque30” Escribir “MejorPrecio” El mejorPrecio es =$10 5.-EL SEÑOR CUMPLEAÑERO DESEA QUE REALICES UN PROGRAMA EN DONDE LE MENCIONECUANTOSDIASTIENECADA MES DE ESTE AÑO 2015, POR EJEMPLO: SI DAS DE ENTRADA EL MES DE ENERO, EL PROGRAMA DEBERA DE DECIRLE QUE TIENE 31 DIAS. Autor: ADRIANA ESQUEDA ECHAVERRIA Inicio
  • 4.
    Variables: M,D NumericoEntero Escribir ”Cuantos días tienen los meses del año 2015”