by @Navarro Account Fork
{"functions":[],"name":"ccontador01","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0aeb3a48_a2c5_4895_96e1_cde69c0ddfdc"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"valor","lengthValue2":"5","id":"id_ff5c3f26_e3e3_498a_87c0_fddf034eae83","initValue":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"cuantosHeLeido","lengthValue2":"5","id":"id_72fd761f_6358_4081_8921_bd2566dc88b0","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"suma","lengthValue2":"5","id":"id_d5794cb9_9141_43e7_9db0_dedde6f2336e","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"mayor","lengthValue2":"5","id":"id_dc928af3_5132_4017_9726_09d1464bd747","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"menor","lengthValue2":"5","id":"id_c41f0531_42d6_4b5f_b8ed_710ff08cfe08","initValue":"1000"},{"condition":"valor > 0","@type":"While","id":"id_29d9ca9b_e21c_4265_93bc_96460f061518","body":{"statements":[{"newline":true,"@type":"Output","id":"id_fa9271ac_59ab_431c_8cda_f39ddbeb4d1c","value":"\"Entre un valor: \""},{"@type":"Input","name":"valor","id":"id_bba67120_36cc_4599_91b4_d966fac27a39","prompt":null},{"falseBlock":{"statements":[],"id":"id_371f251a_e56e_4bfe_a322_66def4d1329e"},"trueBlock":{"statements":[{"@type":"Assign","name":"menor","id":"id_7b2ad130_3ce8_4900_9f24_8b934249ff5b","value":"valor"},{"newline":true,"@type":"Output","id":"id_0af4a19d_6590_4eac_8ba5_13e14d0611f7","value":"\"La valor menor es \" + menor"}],"id":"id_b8c1c89c_a23e_47e7_a54b_cc3ecc4b080a"},"condition":"valor <= menor","@type":"If","id":"id_24ce552c_5bbe_488c_ba3f_8fe245c7014b"},{"falseBlock":{"statements":[],"id":"id_75538aa1_8dbc_4474_b9b3_9002c3c691e3"},"trueBlock":{"statements":[{"@type":"Assign","name":"mayor","id":"id_4c9f0fff_11ef_4aae_ac83_416d050e44c7","value":"valor"},{"newline":true,"@type":"Output","id":"id_6ee5317e_57a6_4d9f_9374_96fc327a48f3","value":"\"valor mayor es \" + mayor"}],"id":"id_ae503c12_36a2_4e15_be2b_2cece4c13af4"},"condition":"valor >= mayor","@type":"If","id":"id_54f423f9_149b_4de9_8647_d4d97e8fb766"},{"@type":"Assign","name":"cuantosHeLeido","id":"id_16bf77b4_03e6_4820_b93a_c718b0a6a99b","value":"cuantosHeLeido + 1"},{"newline":true,"@type":"Output","id":"id_70b96a25_e5c9_4bd6_bd46_f051367928c4","value":"\"valores leidos = \" + cuantosHeLeido"},{"falseBlock":{"statements":[{"@type":"Assign","name":"suma","id":"id_eebdb2d5_e108_4ecb_9cb8_1c9d82862519","value":"suma + valor"}],"id":"id_cf8a998f_1286_4d7d_bc94_0bb0063837ba"},"trueBlock":{"statements":[],"id":"id_08616ee3_36d6_4cdd_aca7_2f7267de2a77"},"condition":"valor <= 0","@type":"If","id":"id_0085b7fa_5607_4ee2_8727_a2c47d7eeabf"},{"newline":true,"@type":"Output","id":"id_0691e91a_fd78_44cd_958c_a4f6b43b116d","value":"\"Suma = \" + suma"}],"id":"id_0baf7d95_4b07_497a_a2df_002126c15317"}},{"newline":true,"@type":"Output","id":"id_dfb0c077_4d74_461e_bbcd_394a285c30bf","value":"\"promedio = \" + suma / (cuantosHeLeido - 1)"},{"@type":"Return","id":"id_99d40137_0a24_423e_b19c_610be41f64fc","maybeValue":null}],"parameters":[]},"id":"id_92556f48_bbbf_46af_9b46_62bd29e71b24","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1708}