.pac-container{ background-color:#fff !important; position:absolute!important; z-index:1000 !important; border-radius:2px !important; border-top:1px solid #d9d9d9 !important; font-family:Arial,sans-serif !important; box-shadow:0 2px 6px rgba(0,0,0,0.3) !important; -moz-box-sizing:border-box !important; -webkit-box-sizing:border-box !important; box-sizing:border-box !important; overflow:hidden !important; } .pac-container:after{ content:"" !important; padding:1px 1px 1px 0 !important; height:16px !important; text-align:right !important; display:block !important; background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png) !important; background-position:right !important; background-repeat:no-repeat !important; background-size:104px 16px !important; } .hdpi.pac-container:after{ background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2_hdpi.png) !important; } .pac-item{ cursor:default !important; padding:0 4px !important; text-overflow:ellipsis; overflow:hidden !important; white-space:nowrap !important; line-height:30px !important; text-align:left !important; border-top:1px solid #e6e6e6 !important; font-size:11px !important; color:#999 !important; } .pac-item:hover{ background-color:#fafafa !important; } .pac-item-selected, .pac-item-selected:hover{ background-color:#ebf2fe !important; } .pac-matched{ font-weight:700 !important; } .pac-item-query{ font-size:13px !important; padding-right:3px !important; color:#000 !important; } .pac-icon{ width:15px !important; height:20px !important; margin-right:7px !important; margin-top:6px !important; display:inline-block !important; vertical-align:top !important; background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons.png) !important; background-size:34px !important; } .hdpi .pac-icon{ background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons_hdpi.png) !important; } .pac-icon-search{ background-position:-1px -1px !important; } .pac-item-selected .pac-icon-search{ background-position:-18px -1px !important; } .pac-icon-marker{ background-position:-1px -161px !important; } .pac-item-selected .pac-icon-marker{ background-position:-18px -161px !important; } .pac-placeholder{ color:gray !important; }
Dado el costo de un computador portátil y la cantidad de dinero entregado por el cliente, calcule e imprima el cambio que debe devolvérsele al cliente.
Proceso Valor_Venta vPC=0 pEfectivo=0 vCambio=0 Escribir 'Valor del PC' Leer vPC Escribir 'Pago efectivo $' Leer pEfectivo Si (vPC>0) Entonces Si (pEfectivo>0) Entonces vCambio=pEfectivo-vPC Si (vCambio>0) Entonces Escribir 'Gracias por su compra, su cambio es: $',vCambio Sino Escribir 'Falta dinero para completar su compra' FinSi Sino Escribir 'El valor del pago debe ser mayor que cero' FinSi Sino Escribir 'El valor del computador debe ser mayor que cero' FinSi FinProceso Diagrama de Flujo: Deja tu comentario o agradecimiento...

Comentarios
Publicar un comentario