{"functions":[],"name":"Suarez-4•E-1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_fa1d6c5b_46e6_42d6_ac4b_0bbab63fbbd5"},{"newline":true,"@type":"Output","id":"id_ddf3f37a_d88e_4547_b2a3_5e320e57afca","value":"\"este programa es un sistema de facturación de sobrecargo\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"consumo","lengthValue2":"5","id":"id_d6d7fd66_e543_4e5c_a516_e610d2ef1632","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"precio","lengthValue2":"5","id":"id_82108f94_122b_4f59_b0a8_05de60adefd6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"precioexcedente","lengthValue2":"5","id":"id_dac04f84_2a9e_43e7_b056_8405a83cd6a7","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"preciodescuento","lengthValue2":"5","id":"id_4a8c2c90_1db7_4647_bbe1_e57e801a7565","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"total","lengthValue2":"5","id":"id_7b80c6e7_7aa6_4a1f_9632_5440efe282f2","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"total2","lengthValue2":"5","id":"id_00e47889_c0ea_4678_ae2c_2892a265473f","initValue":null},{"newline":true,"@type":"Output","id":"id_9c26b7ee_e5d5_46e7_9d4a_2573430ef9e9","value":"\"ingrese el consumo en kWh\""},{"@type":"Input","name":"consumo","id":"id_54b7e117_c944_437f_84f4_86583627fc98","prompt":null},{"newline":true,"@type":"Output","id":"id_1a84a77a_0e93_4ffe_8741_da82b967db93","value":"\"ingrese el precio por unidad\""},{"@type":"Input","name":"precio","id":"id_f6ee0ebf_2f67_4a28_964d_10b77c3b494c","prompt":null},{"@type":"Assign","name":"precio","id":"id_fce863bc_86c5_4336_93fc_4c39cdab82d7","value":"consumo*precio"},{"falseBlock":{"statements":[{"@type":"Assign","name":"preciodescuento","id":"id_5c76a1a6_618f_49fb_bb01_21877ff2c656","value":"precio*5/100"},{"@type":"Assign","name":"total","id":"id_26a01ca5_86e5_4761_be3d_898536f14fa4","value":"precio-preciodescuento"},{"newline":true,"@type":"Output","id":"id_7515daf5_0f6c_41bf_ae6f_a932fc728ab3","value":"\"se aplicó un descuento del 5%,que es de: \"+preciodescuento+\"$\""},{"newline":true,"@type":"Output","id":"id_5f239754_c4fb_424d_98a2_4d4af2623c2d","value":"\"su total a pagar es:\"+total+\"$\""}],"id":"id_361f6cbf_1e10_4f0c_b05d_90eebc7c07a9"},"trueBlock":{"statements":[{"@type":"Assign","name":"precioexcedente","id":"id_11a0013d_f3de_445e_a921_6ed745a89817","value":"precio*40/100"},{"@type":"Assign","name":"total2","id":"id_977d9a6d_fef3_4f13_ba27_24aa345033bc","value":"precio+precioexcedente+8500"},{"newline":true,"@type":"Output","id":"id_adad50ae_8bd9_4df3_a2f4_dfebe9902d33","value":"\"su total a pagar con el impuesto fijo de 8500$ agregado es de:\"+total2+\"$\""}],"id":"id_64539c43_a804_4f26_bbbe_8fb69b92923c"},"condition":"consumo>300","@type":"If","id":"id_c423d2a7_b578_48b0_bd1b_c5fb28969527"},{"@type":"Return","id":"id_f0eabbbb_8255_4101_8122_b6797483e2d3","maybeValue":null}],"parameters":[]},"id":"id_01eb369c_bde9_4c76_8d08_03a280508dac","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":827}