by @Pablo Guerra Fork
{"functions":[],"name":"Calculadora Pablo Guerra","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e2c211d2_3d0d_4983_9add_e64fbb2be47d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"resultado","lengthValue2":"5","id":"id_8a310867_3478_4dcd_bca5_108d861aaab3","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"A","lengthValue2":"5","id":"id_87ae7dc1_ac95_445b_ab94_f375713d6c96","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"B","lengthValue2":"5","id":"id_d6822c12_62f4_41f3_a6c8_c660cad037ab","initValue":"0"},{"newline":true,"@type":"Output","id":"id_5bbfec21_82c1_4f2a_a3df_6c154e1ca681","value":"\"Buenas dame un numero\""},{"@type":"Input","name":"A","id":"id_fe15a7f3_23eb_4d6a_af45_b658aafd87f6","prompt":null},{"newline":true,"@type":"Output","id":"id_4448478b_4303_4ec6_92df_947a5d2c9d06","value":"\"Ahora dame otro numero\""},{"@type":"Input","name":"B","id":"id_2bd3f3eb_4696_4c0d_bcf4_eace146fc6ad","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"operacion","lengthValue2":"5","id":"id_4edba3c8_3ee1_4449_8a69_050d3764a72b","initValue":"0"},{"newline":true,"@type":"Output","id":"id_5e342607_99e5_4f69_8294_b27d669123d3","value":"\"Dime que operacion quieres hacer:1.sumar 2.resta 3.multiplicar 4.dividir\""},{"@type":"Input","name":"operacion","id":"id_f02f242c_3fe6_49a8_8d03_80dba71325ef","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_f6f3e072_1609_4a3c_a15e_fa1e293cc44b"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_904eaf61_c9f9_41d2_bbe6_59cf61cbdc2d","value":"A/B"},{"newline":true,"@type":"Output","id":"id_659183e9_1c6c_45db_b856_4c3d13bba13f","value":"\"El resultado de la operacion dividir:\" + resultado"}],"id":"id_eca7acd4_05d5_4ae0_a9eb_602a89f060db"},"condition":"operacion==4","@type":"If","id":"id_e766a7c9_deb0_451e_b8e9_8337378a01ac"}],"id":"id_1268ea06_573e_4df1_bc1f_4c1931baff9e"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_8d24f538_502e_477a_b9b7_ccc051de1225","value":"AxB"},{"newline":true,"@type":"Output","id":"id_0287e90a_c717_45f4_831d_a6377555993a","value":"\"El resultado de la operacion multiplicar:\" + resultado"}],"id":"id_31a6d246_64ab_49cf_bcf0_2f592d4de8a9"},"condition":"operacion==3","@type":"If","id":"id_df8b34b6_2dae_48c0_a9d4_72ed446bb762"}],"id":"id_63b6e4b2_62cc_4f31_be32_30edc4c51ed6"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_dd7e636f_4798_4e20_8424_753e4638c60a","value":"A-B"},{"newline":true,"@type":"Output","id":"id_67b5a529_27f5_4b80_be86_87dc5311b814","value":"\"El resultado de la operacion resta:\" - resultado"}],"id":"id_fb0f6a90_84ee_4d7a_9599_8cc101653d66"},"condition":"operacion==2","@type":"If","id":"id_4576e9b8_baee_48e5_9214_bade87a62a96"}],"id":"id_cb5ec732_1035_4e0b_9210_1cdf6fc34cd2"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_30d91d54_aaf9_4c73_9ee1_dfd33b449a08","value":"A+B"},{"newline":true,"@type":"Output","id":"id_00eb75a3_161b_4a81_91f4_45279b42db01","value":"\"El resultado de la operacion suma:\" + resultado"}],"id":"id_d4c1f58d_475a_45a8_bf9d_167772dc9d12"},"condition":"operacion==1","@type":"If","id":"id_b162c06d_4ff8_4d42_bd8e_ae297527f446"},{"@type":"Return","id":"id_991a7d25_a458_436c_a76e_2ad73869eec4","maybeValue":null}],"parameters":[]},"id":"id_09806e4f_628f_42b5_a3eb_aa2a4967257d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.3","revision":958}