{"functions":[],"name":"Filtro cruzado de coordenadas.","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6e8b849e_9a34_45db_bbed_3723c891f89e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"8","tpe":"IntegerArray","name":"x","lengthValue2":"5","id":"id_b57bde23_21dc_4337_9117_362bc65465b7","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"s","lengthValue2":"5","id":"id_0fad192b_bd4a_4daf_86fb_6995ea1085f7","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"c","lengthValue2":"5","id":"id_42aadf0e_58a5_4ff5_bd81_f9842bcd2700","initValue":"0"},{"newline":true,"@type":"Output","id":"id_c03acd12_88fe_47b2_a9d9_919aab5cb912","value":"\"Por favor ingrese 8 números, este programa tomará los que sean impares y que estén al mismo tiempo en una posición índice par para sumarlos y mostrar cuantos números cumplieron ambas condiciones.\""},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"7","id":"id_def8993a_c117_4690_9b18_8ef0f66d28a7","body":{"statements":[{"@type":"Input","name":"x[i]","id":"id_6a88a6ca_80c5_4ed5_b1c0_58398431f330","prompt":null},{"falseBlock":{"statements":[],"id":"id_208f9fd9_9ff7_4eac_adc6_2fe09e5bf05b"},"trueBlock":{"statements":[{"@type":"Assign","name":"s","id":"id_ffd08caf_e1a9_4d1a_8669_e1adf5bdceaf","value":"s+x[i]"},{"@type":"Assign","name":"c","id":"id_af193e0f_6d8d_444b_809e_29cfe0f5d8b6","value":"c+1"}],"id":"id_a4fa2dc0_b979_45c2_b10c_cac377e63f96"},"condition":"(i%2==0)&&(x[i]%2!=0)","@type":"If","id":"id_9df257c2_f2f7_486e_b9a7_b2c7a837b352"}],"id":"id_2d6cef2e_589e_43bc_932e_5de3cfe17903"}},{"newline":true,"@type":"Output","id":"id_b17b50b7_5fea_4ed9_9623_9ccb526db740","value":"\"el total de la suma es: \"+ s + \". Y aparte, \"+c+\" números cumplieron con las 2 condiciones.\""},{"@type":"Return","id":"id_7158e2dd_280d_477b_81b9_0a779dbde38d","maybeValue":null}],"parameters":[]},"id":"id_38fcce74_1d0e_428f_b57d_536f099d7a69","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":489}