by @Rodolfo alberto Fajardo cabrera Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_54ca1680_ee38_43c1_a201_227fcc24c64f"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Compratotal","lengthValue2":"5","id":"id_ac6bc55e_8afb_43a7_80e4_2c71b630b675","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"descuento","lengthValue2":"5","id":"id_ce614961_1346_4c57_a05e_71eaae2f4a48","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Precio","lengthValue2":"5","id":"id_0e057a74_e052_4c40_85f8_8786f17726ca","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Subtotal","lengthValue2":"5","id":"id_e8ed1665_21b3_4aa3_96f4_b42324e08e94","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Preciototal","lengthValue2":"5","id":"id_0116b4c8_74de_40ac_b30e_786c3a36ad43","initValue":null},{"newline":true,"@type":"Output","id":"id_d3757516_4caf_48d3_8148_6bd71b059413","value":"\"Precio del producto\""},{"@type":"Input","name":"Precio","id":"id_823ccfb6_bcac_4653_862a_6df3d6eba90c","prompt":null},{"newline":true,"@type":"Output","id":"id_c84f2c92_5555_4ae1_a50d_c28e69991c43","value":"\"Cantidad comprada\""},{"@type":"Input","name":"Compratotal","id":"id_f5fd82de_5fcb_4685_8300_a9d932379b50","prompt":null},{"@type":"Assign","name":"Subtotal","id":"id_3e5e71e8_f988_4e44_9afb_bacfd08e387e","value":"Precio * Compratotal"},{"falseBlock":{"statements":[{"@type":"Assign","name":"Preciototal","id":"id_e5e6a272_e992_4eb1_8569_b23390591d8d","value":"Subtotal"}],"id":"id_f0311df8_544b_494f_ac12_6eb6e2fd6021"},"trueBlock":{"statements":[{"@type":"Assign","name":"Preciototal","id":"id_8d39896f_06a0_45fe_84e3_717ae58cb18a","value":"Subtotal * 0.90"}],"id":"id_76fddcdd_144f_4eb4_b189_ed224f632264"},"condition":"Subtotal>=1000","@type":"If","id":"id_71bb2817_aa6f_475d_b8ec_5000d88bc2ee"},{"newline":true,"@type":"Output","id":"id_48e66165_f632_4dab_aeac_b9529c890838","value":"\"Precio final es:\" +Preciototal"},{"@type":"Return","id":"id_4cca059e_d936_4b83_a6a4_d75d2c14cf08","maybeValue":null}],"parameters":[]},"id":"id_b5ef7581_c665_4f78_8397_604f430ef847","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":676}