by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"Decisiones38","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_93ae0b98_3463_4c3c_aae0_9a886586005e"},{"@type":"Declare","tpe":"Integer","name":"N","id":"id_6cef24d4_8079_4b3f_b55c_59e216ea9706","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D1","id":"id_43dd85ef_3770_4568_92c8_c9edaa57946d","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D2","id":"id_73b72c7f_5cfd_4f95_9667_4e19a4071743","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D3","id":"id_92f78c32_02ad_4cf5_adf2_1cbc9b8e1817","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D4","id":"id_40628233_5987_43da_95e9_d8849a9305a4","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D5","id":"id_d3633e44_a5d5_4bfe_9c02_cd1fff5de9f3","initValue":"0"},{"@type":"Input","name":"N","id":"id_798cbcb8_8e08_4ad4_a237_561a4d201114","prompt":"Ingrese un número entero de 5 dígitos"},{"@type":"Assign","name":"N","id":"id_897ade82_899e_45f5_a125_c0c94f1de2f6","value":"abs(N)"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1cee6e8b_57a0_41ba_89a3_91005fad5349","value":"\"Su número no es válido. Ingrese un valor de 5 dígitos.\""}],"id":"id_3ecbe04b_dbe9_4148_b75b_dcb188125ca7"},"trueBlock":{"statements":[{"@type":"Assign","name":"D1","id":"id_aaa87815_ca4c_4bb1_afff_ab92b8cf6a94","value":"N/10000"},{"@type":"Assign","name":"D2","id":"id_1cbc2d39_55b6_4360_9c1b_a1037cc7ff31","value":"N/1000%10"},{"@type":"Assign","name":"D3","id":"id_0f9a52bf_5f76_4529_aa3c_ca9744f41aa5","value":"N/100%10"},{"@type":"Assign","name":"D4","id":"id_999eb632_a6cb_410c_89ab_61e26c521259","value":"N/10%10"},{"@type":"Assign","name":"D5","id":"id_9bd3b1bf_8283_41cb_a540_aa3fd46f89fa","value":"N%10"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9c4bd451_5749_451e_a3ea_3e76d1be48ba","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_0b7ce145_8ab3_4744_8f96_66bcbc39997a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_707bd94e_eaf9_440b_a306_d5d988b64b1a","value":"\"El cuarto dígito es le dígito mayor\""}],"id":"id_ce752bd8_7975_4964_853c_a5260ba01f7a"},"condition":"D4>D5","@type":"If","id":"id_5d510756_029d_42cf_8b4f_c7c6e3a1d3ef"}],"id":"id_a4e8b07f_6e53_4fe5_ba7e_92043f017f3c"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5338375b_6039_42a9_aecd_5cf4b8580177","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_8f7bf4d1_a193_4fa3_a01d_4b989eb0e773"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5a66a342_d6e0_40c6_8d2a_f31a27924cff","value":"\"El tercer dígito es el dígito mayor\""}],"id":"id_4d905f15_270b_467c_aceb_3265236c5edc"},"condition":"D3>D5","@type":"If","id":"id_66ae87d6_5ffc_42a1_8180_9e28e5d45f55"}],"id":"id_216b8a13_d175_410e_9671_08415f955ac9"},"condition":"D3>D4","@type":"If","id":"id_47c40d8f_b396_421e_931a_2c91c91ca64c"}],"id":"id_4008ddad_67b7_45fc_9ddc_682811440be4"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_68899742_3b60_45d2_ad99_ca68102d3bc4","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_641c481a_126a_47c3_9fe2_7b9d274796f1"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6311d9f1_a3fc_4dba_9e42_050efed8a06c","value":"\"El cuarto dígito es el dígito mayor\""}],"id":"id_af7d5199_7241_4c75_8c9b_8ad955117b39"},"condition":"D4>D5","@type":"If","id":"id_99a290a9_9238_4432_9b2d_25f8ab6315cd"}],"id":"id_09cdae37_90ba_4556_9869_fb0e4cf999c7"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_809c9dd4_30d6_4b4b_a682_407f0170c256","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_67e28af4_1230_4046_8d11_63dcf39c7f77"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e22add88_576f_4c74_b6c7_8cd30086556a","value":"\"El segundo dígito es el dígito mayor\""}],"id":"id_72e54eb7_4347_496e_a52e_2665a1e1562d"},"condition":"D2>D5","@type":"If","id":"id_76d36ba1_ccea_4dd8_b717_283d539d55d2"}],"id":"id_47da1c3f_6dab_450f_9933_ecae99af0987"},"condition":"D2>D4","@type":"If","id":"id_58883ce1_4792_457a_b5d7_16daf23318fb"}],"id":"id_8c6b140d_6287_4739_9ff8_7d3f5cf4fa9b"},"condition":"D2>D3","@type":"If","id":"id_3b03595f_5a56_4322_b508_4cbf169c213a"}],"id":"id_9920f4a6_6091_4771_a135_1d5c0e413b8f"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cd0fd6bc_8ac1_4139_a300_81cf9b225c98","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_884c4adf_5274_471f_8fbe_2903756f7cd2"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f182d9de_b411_42f0_a313_958cff860869","value":"\"El cuarto dígito es le dígito mayor\""}],"id":"id_2fdeadef_af59_4171_8337_17de538551ab"},"condition":"D4>D5","@type":"If","id":"id_17ecbebc_1dde_411b_88b2_15fb93b71956"}],"id":"id_6bfb95c3_ea3e_4865_a3e6_b06c21c499c3"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_159a48bc_e241_49b7_8314_bbf9dc8822e9","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_278b765e_766d_4390_8134_3bd2b5cb9ed2"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_db02fe37_32ae_49f5_a5ac_1da05ac733e7","value":"\"El tercer dígito es el dígito mayor\""}],"id":"id_186ac4e8_8374_44ab_b6e3_6aeb1d25211f"},"condition":"D3>D5","@type":"If","id":"id_b6724f52_df84_4c86_a301_735a808635a4"}],"id":"id_c5dd502d_677f_47af_879c_9e9a55bc314a"},"condition":"D3>D4","@type":"If","id":"id_0a15fe94_f4d2_46a2_8a28_52f47d3a0526"}],"id":"id_a96ca187_fd7f_4be0_a99b_6f9801c5e8b3"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d86dc813_00dc_4f17_985a_d189bfe2c6ae","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_eea5ec86_f058_46fb_a43f_88f0073182e6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3f4fc60a_52fc_416b_9beb_a2620cfc5194","value":"\"El cuarto dígito es el dígito mayor\""}],"id":"id_96b1a47c_25bb_43a4_b3d9_b3dc15a52819"},"condition":"D4>D5","@type":"If","id":"id_9be1340a_4c72_48e2_a2eb_b7e1394c9f8b"}],"id":"id_ebefa3b9_d99e_42b9_a3be_b9aa7e75e168"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7d6f0baa_4498_4a7a_aa8d_83379eb37b7c","value":"\"El quinto dígito es el dígito mayor\""}],"id":"id_eaf1eba0_a907_487f_a2ca_e7e7a77bf779"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_26c01c48_6cd0_4f69_bb3c_e275f4b04bcb","value":"\"El primer dígito es le dígito mayor\""}],"id":"id_5b0c5345_06d6_4175_8812_8c5c3c84905f"},"condition":"D1>D5","@type":"If","id":"id_7cf86ff1_22a3_4c32_86bf_6389d32655ec"}],"id":"id_589e3c1c_d9da_4f53_ba84_e85026f15ba1"},"condition":"D1>D4","@type":"If","id":"id_e45c4055_a605_4ce8_8b2b_7633b90810ab"}],"id":"id_38db2981_58fe_4446_8788_bb08597c420f"},"condition":"D1>D3","@type":"If","id":"id_a527d1b0_f467_4572_969d_446f503b383f"}],"id":"id_2badf129_f0bb_4b24_93cd_ce7bf933b879"},"condition":"D1>D2","@type":"If","id":"id_cf081a0b_46e2_4dae_aa90_c0912e7adfe4"}],"id":"id_a4855468_5466_4e4a_8b89_9b59e098bf7b"},"condition":"N>=10000 && N<=99999","@type":"If","id":"id_7b885b9d_af7e_4cc5_9c3b_3fd28096f5cf"},{"@type":"Return","id":"id_7b35b4a4_5e2e_48ef_a628_85c6b1cf68b6","maybeValue":null}],"parameters":[]},"id":"id_5a743d80_60fb_45c7_b3f6_86b41accef67","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":962}