ENTRADA: Numero al azar (NA), total de compra(TC) SALIDA: Descuento(D)
1.inicio.
3.Preguntar si el número al azar NA es menor que 74.
NA<74.
SI D= TC-.15%
NO D= TC-.20%
4.mostrar Resultado.(D)
5.- fin
Designed with the special support by Maiahost and their Ultra-Fast Semi-Dedicated Servers
0 comentarios:
Publicar un comentario