by @Juan Pablo Rubio Lasso Fork
{"functions":[],"name":"(24)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_da5f2de6_2068_4e23_8b61_27ad389228d2"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_31b40dd7_7b74_4605_8ff4_b66bc910e8f4","initValue":null},{"@type":"Input","name":"x","id":"id_d2130140_8a17_4937_a9c3_768c7b78de5d","prompt":"ingrese un numero:"},{"@type":"Declare","tpe":"Integer","name":"c","id":"id_9140b6d5_1207_4555_aed8_412725c3f9db","initValue":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_888222e7_7d6f_4ad9_afb6_3f8ae8823db8","value":"\"el numero ingresado tiene 3 digitos o menos \""},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_13112ada_974a_4987_9300_4061429fe7bc","initValue":null},{"@type":"Assign","name":"y","id":"id_31835e6e_c043_42b9_a72e_17139692866f","value":"x/100"},{"@type":"Declare","tpe":"Integer","name":"A","id":"id_9430a35e_7a4c_49a7_b702_be4c0349da9f","initValue":null},{"@type":"Declare","tpe":"Integer","name":"B","id":"id_7b43809d_b8ac_43e2_a29a_57fec27381ae","initValue":null},{"@type":"Declare","tpe":"Integer","name":"C","id":"id_acfea74b_7f9a_4673_82a5_3dd4523feeaf","initValue":null},{"@type":"Declare","tpe":"Integer","name":"D","id":"id_25a38e0f_ad1d_48ee_8b39_3073077a8b0e","initValue":null},{"@type":"Declare","tpe":"Integer","name":"E","id":"id_cfc6c36f_7835_46d2_8506_9a193760776d","initValue":null},{"@type":"Declare","tpe":"Integer","name":"F","id":"id_f220d9a1_2c70_4e26_a92a_1f01f790d40f","initValue":null},{"@type":"Declare","tpe":"Integer","name":"G","id":"id_99d11fd7_0e0f_4682_85a4_53bb5dca23c6","initValue":null},{"@type":"Declare","tpe":"Integer","name":"H","id":"id_96f3b397_83b3_46ab_8611_b28cc027fc1b","initValue":null},{"@type":"Declare","tpe":"Integer","name":"J","id":"id_dc64b627_54f9_427b_bb4b_051db9ea85f8","initValue":null},{"@type":"Assign","name":"A","id":"id_3cbb04c4_c495_4da9_8396_c00a3553d3e7","value":"1"},{"@type":"Assign","name":"B","id":"id_b2b60dac_509a_4778_a755_013648679365","value":"2"},{"@type":"Assign","name":"C","id":"id_c967ebf1_d992_4da4_b97d_1dfd11170c19","value":"3"},{"@type":"Assign","name":"D","id":"id_575aafb3_7c51_4e55_ae58_3f55708f3bc8","value":"4"},{"@type":"Assign","name":"E","id":"id_afe80081_0086_4d3e_9993_f17d7f7f33b1","value":"5"},{"@type":"Assign","name":"F","id":"id_646b5b71_a0e0_41e6_be47_f87e5154bf4d","value":"6"},{"@type":"Assign","name":"G","id":"id_466649e7_caf5_4526_8283_46ccb6352338","value":"7"},{"@type":"Assign","name":"H","id":"id_bff57501_ecaa_4725_86aa_f3fe48a29971","value":"8"},{"@type":"Assign","name":"J","id":"id_b430c3d2_0632_438b_987c_38a17238eaa1","value":"9"},{"falseBlock":{"statements":[],"id":"id_75bb6da7_2c9c_4545_8a36_146af7dafb79"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d3f36c61_25fc_4b66_ad92_ffec62a87682","value":"\"impar\""},{"newline":true,"@type":"Output","id":"id_8b90a3a5_cf14_4080_90f0_6fcd9556883b","value":"y"}],"id":"id_7abe1433_0689_4837_83f8_ab25218bea9f"},"condition":"y==A","@type":"If","id":"id_ac40563f_0729_4915_a210_2a91e374dc2c"},{"falseBlock":{"statements":[],"id":"id_ab71f7af_84e3_4bfb_af42_46ab88015341"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0c085822_9463_4b00_bdd8_bf960e2614ae","value":"\"par\""},{"newline":true,"@type":"Output","id":"id_eed30a8b_9f84_4ef6_99da_45f2dc6d937d","value":"y"}],"id":"id_59650b7e_e517_48ae_91de_db44dfb1d64b"},"condition":"y==B","@type":"If","id":"id_0cab2776_8161_43f0_ba31_30f72ea9d9cf"},{"falseBlock":{"statements":[],"id":"id_fc6d1a6f_841e_4922_bc9a_8ab17ac4d2ed"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_9e6465b3_689f_438b_be54_228b3de8e138","value":"\"impar\""},{"newline":true,"@type":"Output","id":"id_3f198fae_3542_4762_a5d6_ff220df37d69","value":"y"}],"id":"id_1f192b6a_e701_4e2e_aa70_8ef73b6806f3"},"condition":"y==C","@type":"If","id":"id_55b7d069_74f8_4fc1_9d0b_522f44b6c139"},{"falseBlock":{"statements":[],"id":"id_ae31ab4d_3e0f_454f_a983_976ddf1aa335"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_2a749bdb_d604_4ccb_aa72_d6dae4d0029d","value":"\"par\""},{"newline":true,"@type":"Output","id":"id_9ecf12ea_c614_4338_8c99_986e1350000d","value":"y"}],"id":"id_a2a876d2_c8dc_4848_82ec_839d4f60c5fb"},"condition":"y==D","@type":"If","id":"id_fa09a2bd_22ae_4d4a_a5de_e16a9ede6923"},{"falseBlock":{"statements":[],"id":"id_2f52a752_bac8_40b9_800f_9f056627ea59"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a39b5006_eeaf_4674_b9fb_c2dc773c0605","value":"\"impar\""},{"newline":true,"@type":"Output","id":"id_1862c8d3_9bca_4144_84ce_95a5eddbed0a","value":"y"}],"id":"id_193d6d18_6139_412a_8117_70ed821f2cef"},"condition":"y==E","@type":"If","id":"id_95aab63a_366b_4f0e_9c1e_6540f8a2552c"},{"falseBlock":{"statements":[],"id":"id_52d96d1f_d0f9_4037_b781_1440193668cc"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ffd2e47f_e82a_4eec_842e_99b3e044158c","value":"\"par\""},{"newline":true,"@type":"Output","id":"id_d521e5c4_6c48_4b79_b8a4_bfdd7a2bc808","value":"y"}],"id":"id_66520374_fef3_441d_a10e_ce89f0594738"},"condition":"y==F","@type":"If","id":"id_05f2d8a7_2149_43c6_9824_f78a8713b9ba"},{"falseBlock":{"statements":[],"id":"id_6dcd9611_45b4_4dfe_9aa4_d4347f7f0daf"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0c6e2f0c_ce55_407f_8051_a235aa5612b7","value":"\"impar\""},{"newline":true,"@type":"Output","id":"id_6f0bdcb7_aded_4b92_ad34_a470ed4cff4b","value":"y"}],"id":"id_b68b89ca_c84a_40f4_98b4_1db4cb968f6e"},"condition":"y==G","@type":"If","id":"id_fe9a98ae_08f3_47c6_ad1f_228c95286207"},{"falseBlock":{"statements":[],"id":"id_43be50dc_c837_44d4_bbd2_f7808ce6f7c4"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e413f6c9_db79_4e3d_8111_a28e649b29d8","value":"\"par\""},{"newline":true,"@type":"Output","id":"id_2e1dfc83_70b9_43a1_a1f8_b28d3cc137b8","value":"y"}],"id":"id_30269e8c_bf1e_4929_970c_1d1baea71504"},"condition":"y==H","@type":"If","id":"id_7c1def2d_4104_4d29_a891_b15eb9669758"},{"falseBlock":{"statements":[],"id":"id_e45fa2cd_f2be_4234_89b9_d13b789e32d8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ca3696ce_5393_4763_9c60_8a9333733966","value":"\"impar\""},{"newline":true,"@type":"Output","id":"id_24557c9e_8ae3_455d_97b7_f93d465d7485","value":"y"}],"id":"id_de1c8404_5f44_4613_9699_6667afb102bd"},"condition":"y==J","@type":"If","id":"id_e94b0278_e2ae_4e93_9ec0_7c4a8369a9a1"}],"id":"id_a629c4ae_32ed_4447_85ed_47ce363d255c"},"trueBlock":{"statements":[{"@type":"Assign","name":"c","id":"id_3ea383b1_bf1b_4881_9963_3ea9abdfb197","value":"x%10"},{"@type":"Declare","tpe":"Integer","name":"a","id":"id_5a3e845c_1325_4196_af38_6223a4ec15fb","initValue":null},{"@type":"Assign","name":"a","id":"id_4ab0cd11_f4a9_4793_b9e4_b4d36a24d40f","value":"1"},{"falseBlock":{"statements":[],"id":"id_2e8fb3c4_a33e_4db7_9519_1c8925e7c2f6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_718870cc_bd6d_4732_804d_90ea8e7d9b9b","value":"\"El numero ingresado su ultimo digito es primo:\""},{"newline":true,"@type":"Output","id":"id_7446ba13_0459_4171_840b_b81d81b5ff10","value":"c"}],"id":"id_310c8fde_9822_49d1_b92b_2f9df1f08cfc"},"condition":"c==a","@type":"If","id":"id_7eeac817_d0ad_4d52_ba59_9fb21b365437"},{"@type":"Declare","tpe":"Integer","name":"d","id":"id_d5da579e_2a25_447e_8440_1cf3d02f6b8c","initValue":null},{"@type":"Assign","name":"d","id":"id_63d87d8d_990d_4131_8ca2_cef6a8a9687b","value":"2"},{"falseBlock":{"statements":[],"id":"id_037c527d_130a_4ec7_a988_b82465e29c38"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_78cb6040_5f71_4222_aadc_eef9033efb14","value":"\"El numero ingresado su ultimo digito es primo:\""},{"newline":true,"@type":"Output","id":"id_1218276d_0d46_42a4_8a43_745deeeed6d7","value":"c"}],"id":"id_2dff2638_1b7c_42da_b0dc_996c70a832cd"},"condition":"c==d","@type":"If","id":"id_b7f36708_53df_49c2_9dbc_3904e2fbb2e5"},{"@type":"Declare","tpe":"Integer","name":"b","id":"id_033bf6a7_9c84_4361_9a4e_e71c281b3da2","initValue":null},{"@type":"Assign","name":"b","id":"id_1e358e3a_99f7_4241_9f59_b8d424a29d22","value":"3"},{"falseBlock":{"statements":[],"id":"id_4ee64ccf_c91c_4dc4_b9b5_f22034006250"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6a0efe75_45bf_4f80_b9ba_7adbd6e69058","value":"\"El numero ingresado su ultimo digito es primo:\""},{"newline":true,"@type":"Output","id":"id_dd57e831_8bf4_482e_bdd2_1ca4470e9e55","value":"c"}],"id":"id_f4f5cced_35d6_4ae3_92c5_dc009d819c5d"},"condition":"c==b","@type":"If","id":"id_bb271106_da40_4c8b_a3f8_0ca7c733c860"},{"@type":"Declare","tpe":"Integer","name":"e","id":"id_88202955_e9e7_4081_9e59_cfb627ef1617","initValue":null},{"@type":"Assign","name":"e","id":"id_9a05069e_d68f_49c1_8129_a86e1795d698","value":"5"},{"falseBlock":{"statements":[],"id":"id_283b5e4e_1b0f_4d6c_9aea_99537f09fd5f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_742a0265_f241_43b4_9757_a0162430ea4f","value":"\"El numero ingresado su ultimo digito es primo:\""},{"newline":true,"@type":"Output","id":"id_8a617116_ca11_472f_b841_01b37a34f416","value":"c"}],"id":"id_b0de8c7d_b5ca_46a7_9051_5b2d3c94da41"},"condition":"c==e","@type":"If","id":"id_e71e7f42_2f92_4c11_9deb_7763da5ae279"},{"@type":"Declare","tpe":"Integer","name":"f","id":"id_4446d0da_fd77_44a1_916e_957dccb26132","initValue":null},{"@type":"Assign","name":"f","id":"id_405448fd_43bf_4fb4_becc_a991362187c9","value":"7"},{"falseBlock":{"statements":[],"id":"id_27976ab6_9f21_4bdc_a121_b173d025071f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_72c29b2e_1311_40aa_9e76_587104076aae","value":"\"El numero ingresado su ultimo digito es primo:\""},{"newline":true,"@type":"Output","id":"id_92e93797_968b_41ab_b966_bfe70504db49","value":"c"}],"id":"id_13600a91_941e_4494_b6be_4cb83506c2ee"},"condition":"c==f","@type":"If","id":"id_cd500f0c_ed2a_4caf_8189_0da00bfb6d31"},{"@type":"Declare","tpe":"Integer","name":"g","id":"id_aef70ea3_2c8e_4885_b93c_c2468e9b92a5","initValue":null},{"@type":"Assign","name":"g","id":"id_9f9be048_a5bd_488f_aae8_0c5e0ca095dd","value":"0"},{"falseBlock":{"statements":[],"id":"id_cdc75bac_7d67_4c05_9244_14ffde13e4af"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6a5aaafb_54b2_495a_9fc5_7fa15997d4cb","value":"\"El numero ingresado su ultimo digito es primo:\""},{"newline":true,"@type":"Output","id":"id_02630c82_2c1c_49b7_9b99_582d7c08f6a1","value":"c"}],"id":"id_5016af70_ec7d_4b37_a1fc_e4c253459891"},"condition":"c==g","@type":"If","id":"id_eb194def_ed6a_4433_b167_39aef2ad0c23"},{"@type":"Declare","tpe":"Integer","name":"h","id":"id_7406fb1a_29e9_4e98_9691_8a0d178df79a","initValue":null},{"@type":"Assign","name":"h","id":"id_89dfb014_6331_43ee_bfbb_e78f70009592","value":"4"},{"falseBlock":{"statements":[],"id":"id_22549f18_0d1a_42e0_80f0_57a4f75a11e1"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_81e93709_d1df_4459_b51d_670ff301038a","value":"\"El numero ingresado su ultimo digito no es primo:\""},{"newline":true,"@type":"Output","id":"id_aabb68ba_dfca_424a_a676_48f8a80d2ede","value":"c"}],"id":"id_e5da729f_df88_4b4b_9192_a95f030d4f70"},"condition":"c==h","@type":"If","id":"id_43517999_0a92_4e31_ae8e_0115b4711f19"},{"@type":"Declare","tpe":"Integer","name":"i","id":"id_55d4e88b_2a16_4e3c_b6ef_0cf881e0d5f6","initValue":null},{"@type":"Assign","name":"i","id":"id_b4e1549e_3b83_4dca_9cde_50ab9ef77e06","value":"6"},{"falseBlock":{"statements":[],"id":"id_02b10856_2bb2_4054_8e41_44ecaa6b5805"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1bb5fddd_9ce3_4812_829b_9ddec142ae9c","value":"\"El numero ingresado su ultimo digito no es primo:\""},{"newline":true,"@type":"Output","id":"id_0dd8f15b_1943_411f_8e3f_ceddd2a5b3ee","value":"c"}],"id":"id_adfb58d1_a38c_498d_8cca_459fc1ccbf98"},"condition":"c==i","@type":"If","id":"id_3d40f49c_3989_4c86_8bb6_889e276de6cf"},{"@type":"Declare","tpe":"Integer","name":"j","id":"id_286de636_dcab_4cfe_b613_54dc1d93f37a","initValue":null},{"@type":"Assign","name":"j","id":"id_90c637cb_fa2c_49a7_82b3_a45f7eb7bf8f","value":"8"},{"falseBlock":{"statements":[],"id":"id_ac89d4bc_f87a_44d8_bef5_1bf8fe3b2752"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_64311263_fb38_4328_adb2_97a52496c2c9","value":"\"El numero ingresado su ultimo digito no es primo:\""},{"newline":true,"@type":"Output","id":"id_733a891a_a13b_41b6_9130_65237677f5a8","value":"c"}],"id":"id_db5e10a2_0348_4db0_9d99_6b8a0e35a0ec"},"condition":"c==j","@type":"If","id":"id_ecb7b5b8_ca48_46ef_a041_5830a1d58a98"},{"@type":"Declare","tpe":"Integer","name":"k","id":"id_65456328_0896_4210_9369_7139c05ca8f8","initValue":null},{"@type":"Assign","name":"k","id":"id_8074fbfd_27d3_4fdc_b87f_eabdd5ec5d32","value":"9"},{"falseBlock":{"statements":[],"id":"id_55515dc5_90bb_42b1_8149_a41f7f2504a8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bbdd21da_4e41_4496_bb47_fd2c0d8b4c97","value":"\"El numero ingresado su ultimo digito no es primo:\""},{"newline":true,"@type":"Output","id":"id_9decb778_72f4_45ca_8853_3b93d0591dc2","value":"c"}],"id":"id_17281822_8cbf_41c4_9720_9bc788a398a4"},"condition":"c==k","@type":"If","id":"id_c65ae5f2_068f_4d6d_a99d_7e9c683ccb21"}],"id":"id_9e95e8a2_bc68_435f_9b11_a398645f9523"},"condition":"x>999","@type":"If","id":"id_670e313f_6638_4a7a_a066_82aa39d71cc2"},{"@type":"Return","id":"id_080b08b6_a8a7_423c_a445_1df8a6c6647c","maybeValue":null}],"parameters":[]},"id":"id_5ab13c14_df5a_4efe_bb0e_c66a06999caf","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":745}