by @Melissa Alvarez Puerta Fork
{"functions":[],"name":"Decisiones18","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_61be7598_ea7f_483d_ac91_901d75b24cf0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_5135009b_f31a_4cd4_9a35_50fb8e462b50","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_65be187f_899c_4fce_b8f4_2761c9f7e593","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"z","id":"id_b67a711b_fc21_4371_835e_d7f38a9609f7","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"N","id":"id_5f806c41_5eba_4957_940f_2ed1fa9ecbeb","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D1","id":"id_ac439235_d5ad_4224_864f_7d51b9599321","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D2","id":"id_cf76ed6f_6cf2_493b_8394_c7029394fc34","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D3","id":"id_dcb9630d_4ebe_4969_82b2_22f4f985e1ed","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D4","id":"id_ad907627_673b_4c99_a138_8d3dea1e5a3b","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"D5","id":"id_cc55498b_38aa_4bab_a16d_9bfdfedc5f37","initValue":"0"},{"@type":"Input","name":"N","id":"id_04b321d9_e991_4df3_9464_3b454f3ce56a","prompt":"Ingrese un número entero de 5 dígitos"},{"@type":"Assign","name":"x","id":"id_de9d7639_e929_4470_8bdc_32c110abd2c4","value":"abs(N)"},{"@type":"Assign","name":"D1","id":"id_6cdf3f8d_20b2_44a2_ae02_d53bd0d0a71c","value":"x/10000"},{"@type":"Assign","name":"D2","id":"id_c3beb79c_2ef6_47d5_81e9_c68d1f5d6ffa","value":"x/1000%10"},{"@type":"Assign","name":"D3","id":"id_032b87a2_3fe0_4179_ae55_9d1dcbe82e13","value":"x/100%10"},{"@type":"Assign","name":"D4","id":"id_20e85a63_aa46_44a4_aa6d_b17a308e7de6","value":"x/10%10"},{"@type":"Assign","name":"D5","id":"id_db069e71_7a7d_4afb_b46b_48cec23a6488","value":"x%10"},{"@type":"Assign","name":"y","id":"id_0c7f1b71_d271_4e5c_b2a4_cc7131e59c7a","value":"D1+D2+D3+D4+D5"},{"@type":"Assign","name":"z","id":"id_f66329de_a514_4536_8da5_a9e861259533","value":"y%2"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c19565d0_af9e_4217_90a1_32a361334176","value":"\"Su número no es válido. Ingrese un número de 5 dígitos\""}],"id":"id_4b14a0b4_8ab5_4e11_b295_564d33fd6b96"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a82d9a00_0502_4ee9_9526_3ba0ca5e410e","value":"\"La suma de los dígitos de su número no es múltiplo de 2\""}],"id":"id_0ddd405d_af70_4652_8af1_598b5b8cf87c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_045d9d1d_6515_43a7_9903_b3811e569aba","value":"\"La suma de los dígitos de su número es múltiplo de 2\""}],"id":"id_9685b22d_ae9b_442d_8f78_5220ad757a0a"},"condition":"y==0 || z==0","@type":"If","id":"id_9e68c015_9b36_4a60_ae9d_d81e68df0da9"}],"id":"id_d0ec7bed_5eb7_42c5_b498_38fc9a9e0e6d"},"condition":"x>=10000 && x<=99999","@type":"If","id":"id_f06b1130_5417_428d_90a5_cd8f0f6f9f08"},{"@type":"Return","id":"id_684239b8_c453_42b4_ad1e_9f4492c7c749","maybeValue":null}],"parameters":[]},"id":"id_376c4302_935e_479d_aee1_70137ac77163","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":402}