by @Iván Moreno Fork
{"functions":[],"name":"Mi calculadora","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2acb7ca4_6649_4108_a9e1_ab7cf075b20d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"respuesta","lengthValue2":"5","id":"id_5136d1d8_e192_4f96_890e_310392c6dbbd","initValue":"\"Si\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"resultado","lengthValue2":"5","id":"id_37c02e73_f8fd_4801_9b6d_ede71f215b35","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"A","lengthValue2":"5","id":"id_f0e82d96_0554_462d_aa3d_64322c80d216","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"B","lengthValue2":"5","id":"id_27621c7e_57e4_4753_af88_61b2a6c2c6a3","initValue":"0"},{"condition":"respuesta==\"Si\"","@type":"While","id":"id_3f76867b_7f15_49b4_9c87_f1a4ce6b7c2a","body":{"statements":[{"newline":true,"@type":"Output","id":"id_2a3ce78d_fa4a_4ffe_9a74_74e5f2d0b1d0","value":"\"Dame el primer número por favor.\""},{"@type":"Input","name":"A","id":"id_93b93e05_67d0_40ee_90fa_f602f5bcebe9","prompt":null},{"newline":true,"@type":"Output","id":"id_e4f36869_6b99_419f_b0da_e385d8760d8c","value":"\"Dame el segundo número por favor.\""},{"@type":"Input","name":"B","id":"id_2d561b30_0109_4a25_a7ea_b75eff77dc39","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"operacion","lengthValue2":"5","id":"id_8694edee_4337_4771_bae6_8f9f5cb1b77d","initValue":"0"},{"newline":true,"@type":"Output","id":"id_fdd4ce2c_4e6f_43c3_b5bf_8ef8035abf50","value":"\"Que operacion quieres hacer:1.sumar 2.restar 3.multiplicar 4.dividir\""},{"@type":"Input","name":"operacion","id":"id_f0978123_61db_4b38_a155_54ec83da0071","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_a1729fe7_1c02_4658_a4ec_3ff9bf001390"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_39bad52d_24e5_400d_b25f_3d7419f9d12f","value":"A/B"},{"newline":true,"@type":"Output","id":"id_662fbc45_f1ec_486c_8ea9_09f85dc4cedf","value":"\"El resultado de la operación división:\" + resultado"}],"id":"id_99d79d4e_c6d6_45db_84d9_085bff69ec3f"},"condition":"operacion==4","@type":"If","id":"id_5fe35f50_69b0_4a39_ad6d_e885c204b353"}],"id":"id_6e51e65c_97f2_4af3_ba40_2fad0ab95fc3"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_99f12b6e_bb97_4383_8ce8_be0d190a3fc1","value":"A*B"},{"newline":true,"@type":"Output","id":"id_1777881b_ffdd_40b2_ad72_a96002cbcd6d","value":"\"El resultado de la operación multiplicacion:\" + resultado"}],"id":"id_ed75ccfc_3628_405b_bcb3_52f0b9bb7844"},"condition":"operacion==3","@type":"If","id":"id_fb28151b_3afd_4985_89e7_a6225aedb81b"}],"id":"id_43699d14_d1b2_4866_93a9_0c39f60da5c6"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_6c73db70_08c5_40e8_9c49_f97d7b668a5b","value":"A-B"},{"newline":true,"@type":"Output","id":"id_2d60857f_169e_4e82_974f_d7871b1fb3c0","value":"\"El resultado de la operación resta:\" + resultado"}],"id":"id_0a8a86a9_90c5_4758_83e8_0c21432c4a0f"},"condition":"operacion==2","@type":"If","id":"id_fb990163_7c2a_41c7_aa54_e081080daea6"}],"id":"id_857733b0_89df_47f5_adc5_86b3988153a0"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_48e11981_d8da_48eb_81f2_64402ce309fd","value":"A+B"},{"newline":true,"@type":"Output","id":"id_09cce3ff_ee78_478d_94c2_736064d79e4c","value":"\"El resultado de la operación suma:\" + resultado"}],"id":"id_57d870d0_bc57_4bfe_a956_48ae235d941f"},"condition":"operacion==1","@type":"If","id":"id_858dfb28_5de4_42e0_9c32_8a0c40b78355"},{"newline":true,"@type":"Output","id":"id_dc68059f_fbbc_4f7c_88d0_e4d1e3c06bec","value":"\"¿Quieres hacer otra operacion? Di Si o No\""},{"@type":"Input","name":"respuesta","id":"id_b8da7800_65aa_4496_a593_594ec0678114","prompt":null}],"id":"id_3229d03e_f1ba_454c_842f_80e493ba2447"}},{"@type":"Return","id":"id_452db769_8f7b_40a5_8d88_ddba1a46ce95","maybeValue":null}],"parameters":[]},"id":"id_5b30ab06_192b_4a45_8f5e_328895471dec","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":837}