by @Asael J Rodríguez Lasalle Fork
{"functions":[],"name":"Ejercicio 10","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2c039a0c_35b1_454a_b26e_ba0e59754ed0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalCompra","lengthValue2":"5","id":"id_2915a47a_a922_4c34_883f_2e694029b16d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"descuento","lengthValue2":"5","id":"id_ae4d6e2f_7ae6_420f_95c8_b84eb3b51c30","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalFinal","lengthValue2":"5","id":"id_d73dbb1a_d397_4f06_b555_4d8191a09158","initValue":null},{"@type":"Input","name":"totalCompra","id":"id_32a3ec96_fba8_40cc_8818_a412d264b950","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"totalFinal","id":"id_2a44800e_3c31_46c7_b226_c894ee864fda","value":"totalCompra"},{"newline":true,"@type":"Output","id":"id_66150f4d_7ca5_4a33_a0ca_10729ae5ab6e","value":"\"El total Es $\" + totalFinal + \".\""}],"id":"id_50886bd3_6898_4f1b_b57a_84c5ba91c5b9"},"trueBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_291e27cc_a996_4c6a_9ba4_d7927be8e7a2","value":"totalCompra * 0.10"},{"@type":"Assign","name":"totalFinal","id":"id_d50536b6_95d8_48a7_8883_8960383d6c90","value":"totalCompra - descuento"},{"newline":true,"@type":"Output","id":"id_80868fe3_258d_4d77_80e7_d9e5c8b2bfe4","value":"\"El precio total es $\" + totalFinal + \".\""}],"id":"id_9cd9de53_0199_47c8_be72_cc551ae9fbd5"},"condition":"totalCompra >= 50","@type":"If","id":"id_53e92127_0727_47ea_b7a4_04d123da362a"},{"@type":"Return","id":"id_7c3f229f_7c6c_4692_84a0_1fb6f99c5b6a","maybeValue":null}],"parameters":[]},"id":"id_e3be6c61_ec1d_458e_afdc_3f0aef006b7c","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":527}