{"functions":[],"name":"arenas_3F_1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_4ba22927_84a2_4bb2_8b7d_fe6a810d2b78"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"consumoenergia","lengthValue2":"5","id":"id_70cea16f_9473_42d4_8c42_721538557b78","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"preciobaseunidad","lengthValue2":"5","id":"id_20b37730_acfd_4dfd_8098_0be24144b466","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"preciosobrecargounidad","lengthValue2":"5","id":"id_7db38111_1dba_4e94_b35a_43f5b04fe217","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"preciosobrecargofinal","lengthValue2":"5","id":"id_b7c9d4c4_6813_4372_a0e6_62d4b4f052a6","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precioresponsableunidad","lengthValue2":"5","id":"id_bf52ab36_f3cb_4101_a2c2_d0263e40cafd","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precioresponsablefinal","lengthValue2":"5","id":"id_52a80a2b_9cd3_4653_8d49_efe769d482f9","initValue":"0"},{"newline":true,"@type":"Output","id":"id_044f1609_5cb9_460e_b80b_9b36550a6111","value":"\"El sistema solicita el consumo de energía en kWh y el precio base por unidad en CLP. Si el consumo supera los 300 kWh, las unidades tendrán un recargo del 40% del precio base y se debera sumar un impuesto fijo de $8.500 CLP. En caso de no superar el límite, se aplica un descuento del 5% al total por consumo responsable\""},{"newline":true,"@type":"Output","id":"id_10c6a57b_eca4_400b_b8dc_3c5ccbee98b2","value":"\"Ingrese el consumo de energía\""},{"@type":"Input","name":"consumoenergia","id":"id_36c3a6c9_9e5f_4a6b_afac_0e0f44cfe3fb","prompt":null},{"newline":true,"@type":"Output","id":"id_85bc1e7b_2dde_4fe4_bab2_2ee38f24300c","value":"\"Ingrese el precio base de la unidad (en CLP)\""},{"@type":"Input","name":"preciobaseunidad","id":"id_4870b680_aa84_4614_bfa6_2f19a83eab40","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"precioresponsableunidad","id":"id_214f7a07_7729_4c3b_8bf6_d6580d976d07","value":"(preciobaseunidad*5)/100"},{"@type":"Assign","name":"precioresponsablefinal","id":"id_a47a7e15_17da_4709_abec_fcd863dcf82c","value":"preciobaseunidad-precioresponsableunidad"},{"newline":true,"@type":"Output","id":"id_fa24d6a9_0388_4ca8_84f4_9312b8aef41a","value":"\"Su monto final es $\"+precioresponsablefinal+\" CLP\""}],"id":"id_d58a75ee_1604_4c54_969f_7302967c5bca"},"trueBlock":{"statements":[{"@type":"Assign","name":"preciosobrecargounidad","id":"id_04d7653e_c9c9_41a3_915b_844f456d1bca","value":"(preciobaseunidad*40)/100"},{"@type":"Assign","name":"preciosobrecargofinal","id":"id_54195956_d456_48ec_9b8f_2f599ec80eae","value":"(preciobaseunidad+preciosobrecargounidad)+8500"},{"newline":true,"@type":"Output","id":"id_7201bc4d_ccf6_4039_849e_fcdac898136d","value":"\"Su monto total es $\"+preciosobrecargofinal+\" CLP\""}],"id":"id_be28fe1a_7679_44e8_8f1a_c036ae644dff"},"condition":"consumoenergia>300","@type":"If","id":"id_e5a21b1b_09f3_41a2_9f92_24c2f09decc6"},{"@type":"Return","id":"id_f127c82f_7ce1_4077_9152_ce7937d4d0da","maybeValue":null}],"parameters":[]},"id":"id_6474d40f_4daf_4425_96c6_179b8ef6e21f","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1254}