by @Brayan Villada Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_23a982d7_a7e3_4a40_a616_525791d55a35"},{"@type":"Declare","tpe":"Integer","name":"Tiempo","id":"id_277d3e3c_6376_4ce4_a097_ae762f82e012","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"conteoh","id":"id_b2fcc51e_2764_42a2_96cf_8810b5c2edb7","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"sumah","id":"id_2bcbeeae_6f21_4f36_b90b_47780e906dc2","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"maxh","id":"id_286cf9b9_eb64_4c55_a5d6_725802de1981","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"minh","id":"id_2e63712c_e6c6_4fe2_9216_9c2df62f1c2b","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"Humedada","id":"id_3d4f549b_6b2c_4126_a5ba_ba34765e3286","initValue":null},{"condition":"Tiempo<=24","@type":"While","id":"id_b6d236b4_05d1_444f_a1cf_6d5bd4ecd3ea","body":{"statements":[{"@type":"Input","name":"Humedada","id":"id_1a401f68_747c_438a_82ce_b3a8547d892e","prompt":"ingrese la humeda registrada"},{"@type":"Assign","name":"Tiempo","id":"id_5408e52d_9039_4d65_9201_663349b60705","value":"Tiempo+1"},{"@type":"Assign","name":"conteoh","id":"id_69cb2290_8e62_4b9d_a256_6c602f345b56","value":"conteoh+1"},{"@type":"Assign","name":"sumah","id":"id_bfddd901_6916_4419_903d_1ee608825a7f","value":"sumah+Humedada"},{"falseBlock":{"statements":[],"id":"id_24a29fbc_aa4f_4fe1_87a9_5a8a7a362d6b"},"trueBlock":{"statements":[{"@type":"Assign","name":"maxh","id":"id_1858218c_015e_456a_9dc3_a6c65ba05074","value":"Humedada"}],"id":"id_ec8c7232_9980_46dd_aa79_53c737095c19"},"condition":"Humedada>maxh","@type":"If","id":"id_af576f0c_839c_4be9_8119_4009367eb18e"},{"falseBlock":{"statements":[],"id":"id_c8e97fda_0a26_40da_a3be_c299b3884e0c"},"trueBlock":{"statements":[{"@type":"Assign","name":"minh","id":"id_5c84810a_bc01_45f0_bd18_df65daa1ea77","value":"Humedada"}],"id":"id_6305c050_43bc_4f19_a41b_b375e758e7ef"},"condition":"Humedada<minh","@type":"If","id":"id_20013be1_5e0d_4476_915d_6860a701e128"}],"id":"id_fd7e24c6_3a73_40b5_8945_39d0204d9538"}},{"@type":"Declare","tpe":"Integer","name":"p","id":"id_e07c4524_170a_4f6b_831a_8627aa48a52a","initValue":"sumah/conteoh"},{"newline":true,"@type":"Output","id":"id_4abd03c3_5322_4cd6_a933_a85acfc1a0fa","value":"\"el promedio de la humedad es:\" + p"},{"newline":true,"@type":"Output","id":"id_59cebcf3_62b9_4959_be78_539d5ec7b036","value":"\"La humedad maxima es:\" + maxh"},{"newline":true,"@type":"Output","id":"id_652147b7_7483_46f9_8e1d_eeacb2725782","value":"\"La humedad minima es:\" + minh"},{"@type":"Return","id":"id_7c2a8b09_8bd9_46c0_a275_fe691b608d5a","maybeValue":null}],"parameters":[]},"id":"id_5ca9dfa6_c52b_4166_95a0_6e4d78747c54","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":446}