by @Felipe Londono Aristizabal Fork
 
id_fb44e966_d2bd_4bfc_8b48_9f58d2e0c80a Begin id_9e35fa49_068c_48ba_b1b6_25ac7cd5953a Programa que lee un número entero de cinco dígitos y determina cuantos dígitos pares y cuantos dígitos impares tiene. id_fb44e966_d2bd_4bfc_8b48_9f58d2e0c80a:s->id_9e35fa49_068c_48ba_b1b6_25ac7cd5953a:n id_ffd10b4e_deb0_4725_b07b_5b4066e85175 x = 0 id_9e35fa49_068c_48ba_b1b6_25ac7cd5953a:s->id_ffd10b4e_deb0_4725_b07b_5b4066e85175:n id_4dd16273_b780_4d15_92d9_a35daa2e7df4 x id_ffd10b4e_deb0_4725_b07b_5b4066e85175:s->id_4dd16273_b780_4d15_92d9_a35daa2e7df4:n id_90504a95_34be_43f7_a11d_912829209671 d1 = 0 id_4dd16273_b780_4d15_92d9_a35daa2e7df4:s->id_90504a95_34be_43f7_a11d_912829209671:n id_15ff2964_8130_4306_80aa_4bc043b204a7 d2 = 0 id_90504a95_34be_43f7_a11d_912829209671:s->id_15ff2964_8130_4306_80aa_4bc043b204a7:n id_8aa26482_5d47_4396_9279_fa83ca892416 d3 = 0 id_15ff2964_8130_4306_80aa_4bc043b204a7:s->id_8aa26482_5d47_4396_9279_fa83ca892416:n id_f1b79e2d_4e23_4bd7_b658_b613150919b5 d4 = 0 id_8aa26482_5d47_4396_9279_fa83ca892416:s->id_f1b79e2d_4e23_4bd7_b658_b613150919b5:n id_e9479dba_c817_4061_8942_faefb304da6e d5 = 0 id_f1b79e2d_4e23_4bd7_b658_b613150919b5:s->id_e9479dba_c817_4061_8942_faefb304da6e:n id_765fce50_1bab_4970_a894_242afe6ab49a imp = 0 id_e9479dba_c817_4061_8942_faefb304da6e:s->id_765fce50_1bab_4970_a894_242afe6ab49a:n id_5e2d6e09_d114_47ef_a12e_f797443b9e50 par = 0 id_765fce50_1bab_4970_a894_242afe6ab49a:s->id_5e2d6e09_d114_47ef_a12e_f797443b9e50:n id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e x<100000 && x>9999 id_5e2d6e09_d114_47ef_a12e_f797443b9e50:s->id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e:n true_dummy_up_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e:e->true_dummy_up_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e true false_dummy_up_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e:w->false_dummy_up_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e false id_afd8f150_313f_4522_b50a_ecba018babd5 x/10000!=0 true_dummy_up_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e->id_afd8f150_313f_4522_b50a_ecba018babd5:n id_a408f509_a076_4b0c_9c07_948c8feab443 "El número ingresado no se encuentra en el rango el rango de valores admitidos" false_dummy_up_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e->id_a408f509_a076_4b0c_9c07_948c8feab443:n true_dummy_up_id_afd8f150_313f_4522_b50a_ecba018babd5 id_afd8f150_313f_4522_b50a_ecba018babd5:e->true_dummy_up_id_afd8f150_313f_4522_b50a_ecba018babd5 true false_dummy_up_id_afd8f150_313f_4522_b50a_ecba018babd5 id_afd8f150_313f_4522_b50a_ecba018babd5:w->false_dummy_up_id_afd8f150_313f_4522_b50a_ecba018babd5 false id_88b96384_dcf3_4206_a919_2620a270b96f x/10000%2==0 true_dummy_up_id_afd8f150_313f_4522_b50a_ecba018babd5->id_88b96384_dcf3_4206_a919_2620a270b96f:n false_dummy_down_id_afd8f150_313f_4522_b50a_ecba018babd5 false_dummy_up_id_afd8f150_313f_4522_b50a_ecba018babd5->false_dummy_down_id_afd8f150_313f_4522_b50a_ecba018babd5:n true_dummy_up_id_88b96384_dcf3_4206_a919_2620a270b96f id_88b96384_dcf3_4206_a919_2620a270b96f:e->true_dummy_up_id_88b96384_dcf3_4206_a919_2620a270b96f true false_dummy_up_id_88b96384_dcf3_4206_a919_2620a270b96f id_88b96384_dcf3_4206_a919_2620a270b96f:w->false_dummy_up_id_88b96384_dcf3_4206_a919_2620a270b96f false id_91562652_fcad_4730_813c_cc19e3555b1e par = par+1 true_dummy_up_id_88b96384_dcf3_4206_a919_2620a270b96f->id_91562652_fcad_4730_813c_cc19e3555b1e:n id_d415ee05_4f5a_4304_8e39_2ccbb9b97ebf imp = imp+1 false_dummy_up_id_88b96384_dcf3_4206_a919_2620a270b96f->id_d415ee05_4f5a_4304_8e39_2ccbb9b97ebf:n true_dummy_down_id_88b96384_dcf3_4206_a919_2620a270b96f id_91562652_fcad_4730_813c_cc19e3555b1e:s->true_dummy_down_id_88b96384_dcf3_4206_a919_2620a270b96f:n false_dummy_down_id_88b96384_dcf3_4206_a919_2620a270b96f id_d415ee05_4f5a_4304_8e39_2ccbb9b97ebf:s->false_dummy_down_id_88b96384_dcf3_4206_a919_2620a270b96f:n end_id_88b96384_dcf3_4206_a919_2620a270b96f true_dummy_down_id_88b96384_dcf3_4206_a919_2620a270b96f->end_id_88b96384_dcf3_4206_a919_2620a270b96f false_dummy_down_id_88b96384_dcf3_4206_a919_2620a270b96f->end_id_88b96384_dcf3_4206_a919_2620a270b96f true_dummy_down_id_afd8f150_313f_4522_b50a_ecba018babd5 end_id_88b96384_dcf3_4206_a919_2620a270b96f:s->true_dummy_down_id_afd8f150_313f_4522_b50a_ecba018babd5:n end_id_afd8f150_313f_4522_b50a_ecba018babd5 true_dummy_down_id_afd8f150_313f_4522_b50a_ecba018babd5->end_id_afd8f150_313f_4522_b50a_ecba018babd5 false_dummy_down_id_afd8f150_313f_4522_b50a_ecba018babd5->end_id_afd8f150_313f_4522_b50a_ecba018babd5 id_617b8558_8420_481b_9e3b_66bef47557f5 x/1000%10!=0 end_id_afd8f150_313f_4522_b50a_ecba018babd5:s->id_617b8558_8420_481b_9e3b_66bef47557f5:n true_dummy_up_id_617b8558_8420_481b_9e3b_66bef47557f5 id_617b8558_8420_481b_9e3b_66bef47557f5:e->true_dummy_up_id_617b8558_8420_481b_9e3b_66bef47557f5 true false_dummy_up_id_617b8558_8420_481b_9e3b_66bef47557f5 id_617b8558_8420_481b_9e3b_66bef47557f5:w->false_dummy_up_id_617b8558_8420_481b_9e3b_66bef47557f5 false id_b78e4383_22ad_4cc7_995a_76b70f5068b4 x/1000%2==0 true_dummy_up_id_617b8558_8420_481b_9e3b_66bef47557f5->id_b78e4383_22ad_4cc7_995a_76b70f5068b4:n false_dummy_down_id_617b8558_8420_481b_9e3b_66bef47557f5 false_dummy_up_id_617b8558_8420_481b_9e3b_66bef47557f5->false_dummy_down_id_617b8558_8420_481b_9e3b_66bef47557f5:n true_dummy_up_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 id_b78e4383_22ad_4cc7_995a_76b70f5068b4:e->true_dummy_up_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 true false_dummy_up_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 id_b78e4383_22ad_4cc7_995a_76b70f5068b4:w->false_dummy_up_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 false id_21e2f362_352e_415e_8385_0f4068db4ad9 par = par+1 true_dummy_up_id_b78e4383_22ad_4cc7_995a_76b70f5068b4->id_21e2f362_352e_415e_8385_0f4068db4ad9:n id_82aa64d3_a082_4738_83fe_65bb2dcdd7fb imp = imp+1 false_dummy_up_id_b78e4383_22ad_4cc7_995a_76b70f5068b4->id_82aa64d3_a082_4738_83fe_65bb2dcdd7fb:n true_dummy_down_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 id_21e2f362_352e_415e_8385_0f4068db4ad9:s->true_dummy_down_id_b78e4383_22ad_4cc7_995a_76b70f5068b4:n false_dummy_down_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 id_82aa64d3_a082_4738_83fe_65bb2dcdd7fb:s->false_dummy_down_id_b78e4383_22ad_4cc7_995a_76b70f5068b4:n end_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 true_dummy_down_id_b78e4383_22ad_4cc7_995a_76b70f5068b4->end_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 false_dummy_down_id_b78e4383_22ad_4cc7_995a_76b70f5068b4->end_id_b78e4383_22ad_4cc7_995a_76b70f5068b4 true_dummy_down_id_617b8558_8420_481b_9e3b_66bef47557f5 end_id_b78e4383_22ad_4cc7_995a_76b70f5068b4:s->true_dummy_down_id_617b8558_8420_481b_9e3b_66bef47557f5:n end_id_617b8558_8420_481b_9e3b_66bef47557f5 true_dummy_down_id_617b8558_8420_481b_9e3b_66bef47557f5->end_id_617b8558_8420_481b_9e3b_66bef47557f5 false_dummy_down_id_617b8558_8420_481b_9e3b_66bef47557f5->end_id_617b8558_8420_481b_9e3b_66bef47557f5 id_4b677ae2_dcff_402d_afe1_ea81092d4077 x/100%10!=0 end_id_617b8558_8420_481b_9e3b_66bef47557f5:s->id_4b677ae2_dcff_402d_afe1_ea81092d4077:n true_dummy_up_id_4b677ae2_dcff_402d_afe1_ea81092d4077 id_4b677ae2_dcff_402d_afe1_ea81092d4077:e->true_dummy_up_id_4b677ae2_dcff_402d_afe1_ea81092d4077 true false_dummy_up_id_4b677ae2_dcff_402d_afe1_ea81092d4077 id_4b677ae2_dcff_402d_afe1_ea81092d4077:w->false_dummy_up_id_4b677ae2_dcff_402d_afe1_ea81092d4077 false id_cc0eb39e_4c18_447a_ba29_9350991e2846 x/100%2==0 true_dummy_up_id_4b677ae2_dcff_402d_afe1_ea81092d4077->id_cc0eb39e_4c18_447a_ba29_9350991e2846:n false_dummy_down_id_4b677ae2_dcff_402d_afe1_ea81092d4077 false_dummy_up_id_4b677ae2_dcff_402d_afe1_ea81092d4077->false_dummy_down_id_4b677ae2_dcff_402d_afe1_ea81092d4077:n true_dummy_up_id_cc0eb39e_4c18_447a_ba29_9350991e2846 id_cc0eb39e_4c18_447a_ba29_9350991e2846:e->true_dummy_up_id_cc0eb39e_4c18_447a_ba29_9350991e2846 true false_dummy_up_id_cc0eb39e_4c18_447a_ba29_9350991e2846 id_cc0eb39e_4c18_447a_ba29_9350991e2846:w->false_dummy_up_id_cc0eb39e_4c18_447a_ba29_9350991e2846 false id_af9a6446_1b46_4423_8284_e4e6ccfde110 par = par+1 true_dummy_up_id_cc0eb39e_4c18_447a_ba29_9350991e2846->id_af9a6446_1b46_4423_8284_e4e6ccfde110:n id_d9c73c37_ca61_4bf9_838a_6e43cb99fd47 imp = imp+1 false_dummy_up_id_cc0eb39e_4c18_447a_ba29_9350991e2846->id_d9c73c37_ca61_4bf9_838a_6e43cb99fd47:n true_dummy_down_id_cc0eb39e_4c18_447a_ba29_9350991e2846 id_af9a6446_1b46_4423_8284_e4e6ccfde110:s->true_dummy_down_id_cc0eb39e_4c18_447a_ba29_9350991e2846:n false_dummy_down_id_cc0eb39e_4c18_447a_ba29_9350991e2846 id_d9c73c37_ca61_4bf9_838a_6e43cb99fd47:s->false_dummy_down_id_cc0eb39e_4c18_447a_ba29_9350991e2846:n end_id_cc0eb39e_4c18_447a_ba29_9350991e2846 true_dummy_down_id_cc0eb39e_4c18_447a_ba29_9350991e2846->end_id_cc0eb39e_4c18_447a_ba29_9350991e2846 false_dummy_down_id_cc0eb39e_4c18_447a_ba29_9350991e2846->end_id_cc0eb39e_4c18_447a_ba29_9350991e2846 true_dummy_down_id_4b677ae2_dcff_402d_afe1_ea81092d4077 end_id_cc0eb39e_4c18_447a_ba29_9350991e2846:s->true_dummy_down_id_4b677ae2_dcff_402d_afe1_ea81092d4077:n end_id_4b677ae2_dcff_402d_afe1_ea81092d4077 true_dummy_down_id_4b677ae2_dcff_402d_afe1_ea81092d4077->end_id_4b677ae2_dcff_402d_afe1_ea81092d4077 false_dummy_down_id_4b677ae2_dcff_402d_afe1_ea81092d4077->end_id_4b677ae2_dcff_402d_afe1_ea81092d4077 id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b x/10%10!=0 end_id_4b677ae2_dcff_402d_afe1_ea81092d4077:s->id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b:n true_dummy_up_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b:e->true_dummy_up_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b true false_dummy_up_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b:w->false_dummy_up_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b false id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 x/10%2==0 true_dummy_up_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b->id_653d5f7c_cf93_4c5d_8561_64e6721a37f8:n false_dummy_down_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b false_dummy_up_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b->false_dummy_down_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b:n true_dummy_up_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 id_653d5f7c_cf93_4c5d_8561_64e6721a37f8:e->true_dummy_up_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 true false_dummy_up_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 id_653d5f7c_cf93_4c5d_8561_64e6721a37f8:w->false_dummy_up_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 false id_6064fd39_7ddc_4574_802c_d635fbb1bac4 par = par+1 true_dummy_up_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8->id_6064fd39_7ddc_4574_802c_d635fbb1bac4:n id_ed6132e2_5f74_41ce_b8e6_d8fe4d2d1567 imp = imp+1 false_dummy_up_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8->id_ed6132e2_5f74_41ce_b8e6_d8fe4d2d1567:n true_dummy_down_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 id_6064fd39_7ddc_4574_802c_d635fbb1bac4:s->true_dummy_down_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8:n false_dummy_down_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 id_ed6132e2_5f74_41ce_b8e6_d8fe4d2d1567:s->false_dummy_down_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8:n end_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 true_dummy_down_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8->end_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 false_dummy_down_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8->end_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8 true_dummy_down_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b end_id_653d5f7c_cf93_4c5d_8561_64e6721a37f8:s->true_dummy_down_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b:n end_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b true_dummy_down_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b->end_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b false_dummy_down_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b->end_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b id_b201d2fe_d787_4196_bdd4_7b49c79654b6 x%10!=0 end_id_66cd6e3e_e246_4b96_bafb_58a4fecfe19b:s->id_b201d2fe_d787_4196_bdd4_7b49c79654b6:n true_dummy_up_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 id_b201d2fe_d787_4196_bdd4_7b49c79654b6:e->true_dummy_up_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 true false_dummy_up_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 id_b201d2fe_d787_4196_bdd4_7b49c79654b6:w->false_dummy_up_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 false id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf x%2==0 true_dummy_up_id_b201d2fe_d787_4196_bdd4_7b49c79654b6->id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf:n false_dummy_down_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 false_dummy_up_id_b201d2fe_d787_4196_bdd4_7b49c79654b6->false_dummy_down_id_b201d2fe_d787_4196_bdd4_7b49c79654b6:n true_dummy_up_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf:e->true_dummy_up_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf true false_dummy_up_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf:w->false_dummy_up_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf false id_f6b15875_31a4_494a_aac1_363e30d5b07b par = par+1 true_dummy_up_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf->id_f6b15875_31a4_494a_aac1_363e30d5b07b:n id_119320d7_f718_4f4c_a8c3_b8b51e8cca85 imp = imp+1 false_dummy_up_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf->id_119320d7_f718_4f4c_a8c3_b8b51e8cca85:n true_dummy_down_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf id_f6b15875_31a4_494a_aac1_363e30d5b07b:s->true_dummy_down_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf:n false_dummy_down_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf id_119320d7_f718_4f4c_a8c3_b8b51e8cca85:s->false_dummy_down_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf:n end_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf true_dummy_down_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf->end_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf false_dummy_down_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf->end_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf true_dummy_down_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 end_id_c1fbd6f8_5f99_4dde_b8c8_bd0f795b5fbf:s->true_dummy_down_id_b201d2fe_d787_4196_bdd4_7b49c79654b6:n end_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 true_dummy_down_id_b201d2fe_d787_4196_bdd4_7b49c79654b6->end_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 false_dummy_down_id_b201d2fe_d787_4196_bdd4_7b49c79654b6->end_id_b201d2fe_d787_4196_bdd4_7b49c79654b6 id_a91b8a9e_ef68_469e_b310_ff0c0561509f "El número de dígitos impares es de: " end_id_b201d2fe_d787_4196_bdd4_7b49c79654b6:s->id_a91b8a9e_ef68_469e_b310_ff0c0561509f:n id_1da852bc_fd03_4a3a_9006_fb59f311a267 imp id_a91b8a9e_ef68_469e_b310_ff0c0561509f:s->id_1da852bc_fd03_4a3a_9006_fb59f311a267:n id_db90271f_32c1_41d1_845c_9d6f6ba617b6 "El número dígitos pares es de: " id_1da852bc_fd03_4a3a_9006_fb59f311a267:s->id_db90271f_32c1_41d1_845c_9d6f6ba617b6:n id_b33ea2b9_2de8_4ae9_86b7_85e45865039b par id_db90271f_32c1_41d1_845c_9d6f6ba617b6:s->id_b33ea2b9_2de8_4ae9_86b7_85e45865039b:n true_dummy_down_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e id_b33ea2b9_2de8_4ae9_86b7_85e45865039b:s->true_dummy_down_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e:n false_dummy_down_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e id_a408f509_a076_4b0c_9c07_948c8feab443:s->false_dummy_down_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e:n end_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e true_dummy_down_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e->end_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e false_dummy_down_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e->end_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e id_69d40846_2df8_4e7d_96c0_286ba5c52358 End end_id_e5a63b20_8d70_4e09_9e7f_8e20c87d8e3e:s->id_69d40846_2df8_4e7d_96c0_286ba5c52358:n
import math
from random import randrange

 """ Programa que lee un número entero de cinco dígitos y determina cuantos dígitos pares y cuantos dígitos impares tiene. """ */
x = 0
x = input("Ingrese un número de 5 dígitos")
d1 = 0
d2 = 0
d3 = 0
d4 = 0
d5 = 0
imp = 0
par = 0
if x < 100000 and x > 9999:
  if x / 10000 != 0:
    if x / 10000 % 2 == 0:
      par = par + 1
    else:
      imp = imp + 1
  else:
    pass
  if x / 1000 % 10 != 0:
    if x / 1000 % 2 == 0:
      par = par + 1
    else:
      imp = imp + 1
  else:
    pass
  if x / 100 % 10 != 0:
    if x / 100 % 2 == 0:
      par = par + 1
    else:
      imp = imp + 1
  else:
    pass
  if x / 10 % 10 != 0:
    if x / 10 % 2 == 0:
      par = par + 1
    else:
      imp = imp + 1
  else:
    pass
  if x % 10 != 0:
    if x % 2 == 0:
      par = par + 1
    else:
      imp = imp + 1
  else:
    pass
  print("El número de dígitos impares es de: ", end = '')
  print(imp, end = '')
  print("El número dígitos pares es de: ")
  print(par)
else:
  print("El número ingresado no se encuentra en el rango el rango de valores admitidos")