by @Rubén Rojas Fork
{"functions":[],"name":"Mi calculadora","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2acb7ca4_6649_4108_a9e1_ab7cf075b20d"},{"condition":"","@type":"While","id":"id_e59759ce_9853_4010_9c30_3cda694a9fa1","body":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Numero","lengthValue2":"5","id":"id_8553b9a1_f4e0_4511_93b6_1697694500fd","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Numero2","lengthValue2":"5","id":"id_630a08f2_3138_4543_88ea_274d043fe261","initValue":"0"},{"newline":true,"@type":"Output","id":"id_3ce83d2e_d4cc_4264_af52_ce8aed24ec3b","value":"\"Dame el primer número por favor.\""},{"@type":"Input","name":"Numero","id":"id_2eac5047_0dfe_4650_a16b_90c5a0ddc4d9","prompt":null},{"newline":true,"@type":"Output","id":"id_107ac6e1_552a_441b_bc24_6ed7eae4b478","value":"\"Dame el segundo número por favor.\""},{"@type":"Input","name":"Numero2","id":"id_6d3712f2_badb_4a9d_8c42_f51c9fe869e9","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Operacion","lengthValue2":"5","id":"id_8d40d47b_1eb1_4d27_ae80_be78257f1d3c","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"resultado","lengthValue2":"5","id":"id_d889e897_6280_4c96_91c2_f66c38c0a3e0","initValue":null},{"newline":true,"@type":"Output","id":"id_3e191e07_f098_4d51_ac6c_5b4b05ee1a2b","value":"\"Que operacion quieres hacer:1.sumar 2.restar 3.multiplicar 4.dividir\""},{"@type":"Input","name":"operacion","id":"id_a8b3e69b_37dc_4855_9a19_5044426d064a","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_81725d75_bc70_4570_bb6e_1086e1c15215"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_97ee9abb_0133_44c3_a1de_2cc4af7fe500","value":"Numero/Numero2"},{"newline":true,"@type":"Output","id":"id_e3a8b27a_c3fc_4765_a111_31a4306a1a66","value":"\"El resultado de la operación suma:\" + resultado"}],"id":"id_486d3fc7_ccd9_4449_abec_72560e155997"},"condition":"operacion==4","@type":"If","id":"id_3df4afd0_78c6_4428_8c3f_344aaf02602b"}],"id":"id_cf239500_1bb8_4e21_98c1_201e1b586a33"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_634d78f2_683a_401c_b4e7_1139cf646bba","value":"Numero*Numero2"},{"newline":true,"@type":"Output","id":"id_857dab75_ed84_4a62_93d9_352880f64789","value":"\"El resultado de la operación suma:\" + resultado"}],"id":"id_06b5543f_789c_4a4b_a558_b4e9ab958cd6"},"condition":"operacion==3","@type":"If","id":"id_6af0838f_b60d_4c2b_9a8a_16f652e20379"}],"id":"id_92390fd4_7c81_427b_8d69_5ce95eb539ce"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_c55779b4_8446_44bb_9f0a_0a193415c6b4","value":"Numero-Numero2"},{"newline":true,"@type":"Output","id":"id_f51fe054_eaf1_479c_9ae1_6b56401d61c0","value":"\"El resultado de la operación suma:\" + resultado"}],"id":"id_92b41e72_292c_4fb6_bfeb_64dc37efafee"},"condition":"operacion==2","@type":"If","id":"id_730204e4_7f57_4a81_80b9_eb0f29c03d5a"}],"id":"id_0239edd0_0e49_4cec_8c6a_e72f8bfca547"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_0e0fc17c_9208_4550_a515_dc2cbeb1ddfd","value":"Numero+Numero2"},{"newline":true,"@type":"Output","id":"id_928854fb_776f_42cb_a1b3_5ca91f01c8a8","value":"\"\"El resultado de la operación suma:\" + resultado\""}],"id":"id_f71f7e94_8211_464d_8078_53edc9634ab4"},"condition":"operacion==1","@type":"If","id":"id_268ce9cf_6e61_41db_842c_52c386cacdd6"},{"newline":true,"@type":"Output","id":"id_c1a8531d_7103_4560_88d2_2e8267e3c87f","value":"\"Quieres seguir jugando\""}],"id":"id_986ba163_3ef2_4552_ab29_895476586b37"}},{"@type":"Return","id":"id_452db769_8f7b_40a5_8d88_ddba1a46ce95","maybeValue":null}],"parameters":[]},"id":"id_e6ce61c4_21bb_40a3_b335_50e6fe7d4e6b","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":1258}