by @Deriel Reillo Fork
{"functions":[],"name":"Ejercicio 10","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_85aac56e_3776_465c_bff3_bec161003641"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalCompra","lengthValue2":"5","id":"id_a3b99cd4_3b5d_463c_a04b_026dbffbeb15","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"descuento","lengthValue2":"5","id":"id_e2051fab_c5b0_4c47_be65_ee80a790528a","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precioFinal","lengthValue2":"5","id":"id_9528d127_efc1_4566_b6fe_01366130e0c0","initValue":null},{"@type":"Input","name":"totalCompra","id":"id_0f4a5d43_1215_4638_9e4f_0627a926ef81","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"precioFinal","id":"id_c134384e_1785_402e_acee_3858c5cdedd5","value":"totalCompra"}],"id":"id_6f5ac72d_d832_4d79_a201_73a81843ddf4"},"trueBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_4e5ba8e1_5ede_4343_a172_f4c2c460473d","value":"totalCompra * 0.10"},{"@type":"Assign","name":"precioFinal","id":"id_ea7a2a9c_160b_4628_8cca_1f4ea098e41a","value":"totalCompra- descuento"}],"id":"id_0726347f_3d36_4f69_84d7_2dbf3f125871"},"condition":"totalCompra >= 50","@type":"If","id":"id_d67bcc67_c03b_4bca_9e1f_fe64d4dcd55a"},{"newline":true,"@type":"Output","id":"id_c5704d54_ad8e_41ab_9346_ac5ee97f1735","value":"\"Su total es de $\"+ precioFinal + \".\""},{"@type":"Return","id":"id_89606161_c575_4e84_87b3_9b0b3918049e","maybeValue":null}],"parameters":[]},"id":"id_8a9fb74f_d6a2_4e3d_8a40_a4ed912334fb","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":370}