by @RAFAELLA YAMEL ORTEGA QUIJANO Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_146c7953_e016_4bc2_912b_4ee196fb5d00"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numero","lengthValue2":"5","id":"id_e684f70b_8571_4353_a9d2_72bf9d09cfaf","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"positivos","lengthValue2":"5","id":"id_06999647_6df3_4bf2_ae5a_ed3ab3f97d84","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"negativos","lengthValue2":"5","id":"id_807ab8a2_913b_439d_a7e8_baee18d80bfc","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"ceros","lengthValue2":"5","id":"id_866bf3a3_44c0_4eb6_9e6e_88c83eee3a98","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"pares","lengthValue2":"5","id":"id_c5de6b90_d6f1_4136_b1bb_645217088fbd","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"impares","lengthValue2":"5","id":"id_8c8ce770_eabf_4e41_8b26_aa2d29d7953a","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"respuesta","lengthValue2":"5","id":"id_967407fd_a651_4077_ba75_65defd7d3d51","initValue":"\"\""},{"condition":"respuesta!=\"N\"","@type":"DoWhile","id":"id_add90036_74ab_4aa9_9e53_485b1c8ee3e7","body":{"statements":[{"newline":true,"@type":"Output","id":"id_43df6808_618d_461b_a4b9_6e511bbc1a12","value":"\"Ingrese un numero\""},{"@type":"Input","name":"numero","id":"id_bb79998f_a46c_42b2_aff7_c827e1c319a0","prompt":null},{"falseBlock":{"statements":[],"id":"id_be1ea13e_8e8d_47e3_b519_de47a8733d75"},"trueBlock":{"statements":[{"@type":"Assign","name":"positivos","id":"id_7a91650e_8511_49e1_bcf9_f94faa87539a","value":"positivos+1"}],"id":"id_e1b48668_1284_4945_b490_6ba68cd64994"},"condition":"numero>0","@type":"If","id":"id_aa9853e6_a0d6_4068_b058_d8e117b1c64f"},{"falseBlock":{"statements":[],"id":"id_27e3423a_971c_4af7_a405_81e6fc31e314"},"trueBlock":{"statements":[{"@type":"Assign","name":"negativos","id":"id_a9eccee2_2615_45a4_9a6a_43656f867fb8","value":"negativos+1"}],"id":"id_4fb8af67_f103_45d5_a1de_9fb18f00d0fa"},"condition":"numero<0","@type":"If","id":"id_7e66af96_8d83_4ac3_8198_ea5f66f3f2a8"},{"falseBlock":{"statements":[],"id":"id_71ad1a40_99f8_49d7_914b_1658199e6881"},"trueBlock":{"statements":[{"@type":"Assign","name":"ceros","id":"id_c21587b1_7476_4c2b_8ade_56e64c7a0927","value":"ceros+1"}],"id":"id_0c2d4b14_9293_428c_b7d1_fc114307d2c2"},"condition":"numero==0","@type":"If","id":"id_3095b995_1e43_4bb9_9e02_964caf8a5b06"},{"falseBlock":{"statements":[{"@type":"Assign","name":"impares","id":"id_810848c5_9b04_4323_beb8_cb7a46f95956","value":"impares+1"}],"id":"id_ef07df75_23d8_44a7_88d6_37b02da92964"},"trueBlock":{"statements":[{"@type":"Assign","name":"pares","id":"id_b5cc9960_ef7a_44cf_9deb_72cf5fc21b4f","value":"pares+1"}],"id":"id_73bee3d7_7efa_4619_8c20_8d4b7b5507d1"},"condition":"numero%2==0","@type":"If","id":"id_e27b9ee4_a6a0_4ca8_90b6_fd7ba7b7c36f"},{"newline":true,"@type":"Output","id":"id_d211b1c3_f549_4b84_b860_dc80715817d6","value":"\"¿Desea continuar?S/N)\""},{"@type":"Input","name":"respuesta","id":"id_f3f4d1ad_04a4_4425_a53c_d8ca506b3f1d","prompt":null},{"falseBlock":{"statements":[],"id":"id_2f40dde6_89a0_4b10_81a9_d5c04d2f98c7"},"trueBlock":{"statements":[{"@type":"Assign","name":"respuesta","id":"id_2daa35d8_2f82_44f3_9e89_e26c56d9eec9","value":"\"N\""}],"id":"id_55d64c04_9988_48f0_b755_ea619889242d"},"condition":"respuesta==\"n\"","@type":"If","id":"id_05c94242_139f_4004_997e_a5290ffe45a2"}],"id":"id_c1176507_f911_4d7f_b54a_9ddb84d78995"}},{"newline":true,"@type":"Output","id":"id_0977d645_189f_41e6_b533_d7b9f41dded1","value":"\"Cantidad de positivos: \" + positivos"},{"newline":true,"@type":"Output","id":"id_aee25b58_be8b_4fb0_a1df_96c736b07fa3","value":"\"Cantidad de negativos: \" + negativos"},{"newline":true,"@type":"Output","id":"id_02608a2a_b90f_4ad2_973d_56fef645144e","value":"\"Cantidad de pares: \" + pares"},{"newline":true,"@type":"Output","id":"id_39852b04_a6a7_46a9_8efe_c14242ff1fd3","value":"\"Cantidad de impares: \" + impares"},{"newline":true,"@type":"Output","id":"id_8c34daa2_9c41_4d06_97e5_ac67d926e3fe","value":"\"Cantidad de ceros: \" + ceros"},{"@type":"Return","id":"id_22e0eef8_6690_4c5a_ad4e_cf42e7503125","maybeValue":null}],"parameters":[]},"id":"id_9c3157bf_71d6_4d01_adb8_f6113d4c5230","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1316}