{"functions":[],"name":"Precio final con descuento","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"inicio"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"precio","initValue":null},{"@type":"Input","name":"precio","id":"input_precio","prompt":"\"Ingresa el precio del articulo:\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"porcentaje","lengthValue2":"5","id":"porcentaje","initValue":null},{"@type":"Input","name":"porcentaje","id":"input_porcentaje","prompt":"\"Ingresa el porcentaje de descuento:\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"descuento","lengthValue2":"5","id":"descuento","initValue":null},{"@type":"Assign","name":"descuento","id":"calcular_descuento","value":"precio*porcentaje/100"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precioFinal","lengthValue2":"5","id":"precioFinal","initValue":null},{"@type":"Assign","name":"precioFinal","id":"calcular_precio_final","value":"precio-descuento"},{"newline":true,"@type":"Output","id":"resultado","value":"\"Precio original: \" + precio + \" | Descuento: \" + descuento + \" | Precio final: \" + precioFinal"},{"@type":"Return","id":"fin","maybeValue":null}],"parameters":[]},"id":"id_d8505b46_c078_4dee_888a_6158541468ba","config":{"showDebugVars":false,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":12}