{"functions":[],"name":"Precio final de un articulo con descuento","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id3_1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"id3_2","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"porcentaje","lengthValue2":"5","id":"id3_3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"descuento","lengthValue2":"5","id":"id3_4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precioFinal","lengthValue2":"5","id":"id3_5","initValue":null},{"newline":true,"@type":"Output","id":"id3_6","value":"\"Ingresa el precio del articulo:\""},{"@type":"Input","name":"precio","id":"id3_7","prompt":null},{"newline":true,"@type":"Output","id":"id3_8","value":"\"Ingresa el porcentaje de descuento:\""},{"@type":"Input","name":"porcentaje","id":"id3_9","prompt":null},{"@type":"Assign","name":"descuento","id":"id3_10","value":"precio * porcentaje / 100"},{"@type":"Assign","name":"precioFinal","id":"id3_11","value":"precio - descuento"},{"newline":true,"@type":"Output","id":"id3_12","value":"\"Precio original: $\" + precio"},{"newline":true,"@type":"Output","id":"id3_13","value":"\"Descuento aplicado: $\" + descuento"},{"newline":true,"@type":"Output","id":"id3_14","value":"\"Precio final: $\" + precioFinal"},{"@type":"Return","id":"id3_15","maybeValue":null}],"parameters":[]},"id":"id_6efcc8f0_518c_4a29_90f7_7f2ced8e0a2e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1}