by @Felipe Londono Aristizabal Fork
{"functions":[],"name":"43 taller decisiones","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9cb013e3_5e8d_44c6_80db_a4912191d0a4"},{"@type":"Comment","id":"id_5b9ac14c_612c_4598_8148_5259eaf462c5","text":"Programa que ejecuta un calculo entre dos números según el comando ingresado"},{"@type":"Declare","tpe":"Real","name":"a","id":"id_ef4ba123_c35f_40a0_9e28_b5fee11c389d","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"b","id":"id_7acbfc9b_175e_457a_9258_cb33e0d2d43c","initValue":"0"},{"@type":"Declare","tpe":"String","name":"x","id":"id_874310f6_ae45_40f8_9f8f_ddefdc4b80f5","initValue":null},{"@type":"Declare","tpe":"Real","name":"resultado","id":"id_a673dbde_1b21_4449_b4f7_823da76c90ab","initValue":null},{"@type":"Input","name":"a","id":"id_3f69c7ae_d4d2_43f3_a2e2_7a22b7cb9195","prompt":"Ingrese el primer número: "},{"@type":"Input","name":"b","id":"id_9d5eafc7_1083_480f_afaa_838e85e29fe7","prompt":"Ingrese el segundo número: "},{"newline":true,"@type":"Output","id":"id_6dbb7ee5_53f2_414f_9b77_23925da8ac38","value":"\"Ingrese la letra (s) si desea sumar los números.\""},{"newline":true,"@type":"Output","id":"id_89f216b7_ad63_4ebf_8c03_371902f1716e","value":"\"Ingrese la letra (r) si desea restar los números.\""},{"newline":true,"@type":"Output","id":"id_6659fdac_ffa1_4f7e_b3a4_43cd00f27322","value":"\"Ingrese la letra (m) si desea multiplicar los números.\""},{"newline":true,"@type":"Output","id":"id_c7c5d439_c51e_4ce9_b1b1_0730f3598b1f","value":"\"Ingrese la letra (d) si desea dividir los números.\""},{"@type":"Input","name":"x","id":"id_086c19c8_a249_4a4f_aeb1_021a26948a49","prompt":"Ingrese el comando: "},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_38383243_07b7_4329_8d26_c4b9941a3586","value":"\"Comando ingresado no reconocido\""}],"id":"id_dbcf1151_b9b7_4d3c_bd5f_8ed054ac907f"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_a3f11084_1cf6_470f_8176_02be8d3a80f4","value":"a/b"}],"id":"id_bca95b8f_bf35_4e74_b673_7e77c4827a4c"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_c4f18d1f_0a7e_4d22_b449_313d811ce8cf","value":"a*b"}],"id":"id_8a47937f_221b_4472_aff4_0f551ae9fc7b"},"condition":"x==\"m\"","@type":"If","id":"id_2b0a1600_8cd7_4b37_9cc5_7f2d935f2008"}],"id":"id_4869eff7_c068_4874_b830_af5a835121f9"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_4b46663e_f7a3_4ef7_b5ef_b41ac815cc64","value":"a-b"}],"id":"id_ef630ab3_34db_486f_9309_4ae28ee5c535"},"condition":"x==\"r\"","@type":"If","id":"id_462b2e37_8d92_482e_879b_db7a759174c9"}],"id":"id_2f029ef7_d109_47c5_afc9_1dad7dccb0cb"},"trueBlock":{"statements":[{"@type":"Assign","name":"resultado","id":"id_a9c41edf_7e10_4d71_a768_886b4bd260db","value":"a+b"}],"id":"id_c76c8bfc_1348_424e_9199_678e55cac19f"},"condition":"x==\"s\"","@type":"If","id":"id_4dc5aec6_c5a6_405d_a600_2cb65ac5d1b9"},{"newline":true,"@type":"Output","id":"id_3cd0dc1e_ea97_418b_8894_f36d22a4feaf","value":"\"El resultado de la operación seleccionada entre los números ingresados es: \""},{"newline":true,"@type":"Output","id":"id_d5d365c2_d5f5_485d_8f3f_620b06a14f43","value":"resultado"}],"id":"id_e2e79077_ba4b_4f34_bc7b_7b4ec240f4e7"},"condition":"x==\"s\" || x==\"r\" || x==\"m\" || x==\"d\"","@type":"If","id":"id_3d54c29a_178a_484c_abf0_ba4444412e6b"},{"@type":"Return","id":"id_990b3dbc_2c03_4791_8fab_8135bb9a7857","maybeValue":null}],"parameters":[]},"id":"id_217bcf14_1375_4858_8020_c7823ed5c867","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":607}