by @moises contreras Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e7423d34_68b8_4d35_a1f7_809d42188b96"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Descuento","lengthValue2":"5","id":"id_96ea3c30_b179_4e46_9181_b95cafe7c9ab","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"id_6fbca55e_6e1d_494e_bdb4_dc2b395ee346","initValue":"0"},{"newline":true,"@type":"Output","id":"id_8968e8ec_cc27_4c28_9ce6_7d895fd89ba3","value":"\"Ingresa el precio\""},{"falseBlock":{"statements":[{"@type":"Assign","name":"Descuento","id":"id_3f85e17b_bf6c_4b05_a5a7_a2ff8198b218","value":"precio % 8"}],"id":"id_620c0cf2_e84e_4a72_a7c7_42c83734f8b8"},"trueBlock":{"statements":[{"@type":"Assign","name":"Descuento","id":"id_ff213e64_8ae4_4eb4_9ed6_e4164141a202","value":"precio % 15"}],"id":"id_e0f078ee_0d82_453d_874c_7ea7fda6191c"},"condition":"precio >= 2500","@type":"If","id":"id_05b6663f_65ca_4942_ad65_4dcdb99fec6d"},{"@type":"Input","name":"descuento","id":"id_7cf6a167_80db_4408_a456_0b9b65be55d3","prompt":null},{"@type":"Return","id":"id_8dedb123_4ad3_4a99_a1f9_fa060f03183f","maybeValue":null}],"parameters":[]},"id":"id_248535fc_8ba7_42be_87af_9a7943e33ad9","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":778}