by @Alex Pro Fork
{"functions":[],"name":"fer","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_45331ec8_1675_4d80_b94b_53996ec74c7a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"id_126cd392_0637_4b2a_b75d_47c52c36cf20","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"descuento","lengthValue2":"5","id":"id_6918bdee_e23e_4135_aa62_6fa6ef500db3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precioFinal","lengthValue2":"5","id":"id_029cff7f_11c2_452e_9473_67bb511696d8","initValue":null},{"@type":"Input","name":"precio","id":"id_07fa23d0_3caa_4a1a_b427_4002c315825d","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_b1ed3304_2a2c_408a_9000_c7dfd4d24b97","value":"precio * 0.08"},{"@type":"Assign","name":"precioFinal","id":"id_61ca6af3_2084_4708_919a_aac0aee2340c","value":"precio - descuento"}],"id":"id_27ab1334_3aa9_40fc_b886_f5ef67473f93"},"trueBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_072070a9_e76b_4042_b34b_08a2d36e8456","value":"precio * 0.15"},{"@type":"Assign","name":"precioFinal","id":"id_d6381e8b_2042_4871_b03a_03ab313e87b3","value":"precio - descuento"}],"id":"id_f3e2509c_3548_4925_bb6e_c4f7320eb0c8"},"condition":"precio > 2500","@type":"If","id":"id_8c8123df_28ab_4012_a266_dbf5ef4f346a"},{"newline":true,"@type":"Output","id":"id_ad2e681f_e412_4c08_97ea_302242696db4","value":"\"El descuento es de: $\" + descuento"},{"newline":true,"@type":"Output","id":"id_639fa424_3229_4d75_8406_a81653566a52","value":"\"El precio final a pagar es: $\" + precioFinal"},{"@type":"Return","id":"id_7f620017_10a1_47d1_a8b6_56ed8e1b4718","maybeValue":null}],"parameters":[]},"id":"id_1289e99a_2c83_470f_81bb_857957bd9d78","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":290}