by @Lizia Fork
{"functions":[],"name":"Ejercicio 3","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e7e821ae_68fe_403d_a213_61f72db04d9c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"id_f6bef93e_a6e2_4961_9f49_27e25a95ee46","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"","lengthValue2":"5","id":"id_9bf54c63_d7ed_48f2_bf4a_b218039d4908","initValue":null},{"@type":"Input","name":"precio","id":"id_7e6751ff_2348_4290_8216_1e9c2acc2464","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_00849cc6_5a96_4ac9_8f2d_e179dcf89614","value":"precio * 0.10"}],"id":"id_cc6e03af_f823_423b_9ebc_0b4d70137930"},"trueBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_7c8bf689_6cef_4ec3_9431_2acc2dd40460","value":"precio * 0.12"}],"id":"id_5dc121a8_30b0_4934_8c5d_da32277a9bc1"},"condition":"precio > 100","@type":"If","id":"id_2576e4d4_fbc9_4255_8353_aa5978b120e9"}],"id":"id_58be76bf_badd_479b_be75_24c8070002f0"},"trueBlock":{"statements":[{"@type":"Assign","name":"descuento","id":"id_33f1644f_9d1d_494e_afba_ddafa3ee8787","value":"precio * 0.5"}],"id":"id_19e383f2_8c5b_4649_8593_ba2d5fb55f40"},"condition":"precio >= 200","@type":"If","id":"id_a9021f81_0bc7_4586_8a87_68c8b5e26f1f"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"preciofinal","lengthValue2":"5","id":"id_106f9a63_d170_4042_a490_c11c702f811e","initValue":"precio - descuento"},{"newline":true,"@type":"Output","id":"id_0ef5123f_44c6_4fe6_af29_7cfe745ae27f","value":"descuento && preciofinal"},{"@type":"Return","id":"id_049fc807_18b2_4390_a4aa_0b365558e65d","maybeValue":null}],"parameters":[]},"id":"id_e8f38587_6e88_4cc3_be84_a7fa382bf03d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":410}