{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ca62e9f0_88ba_4f29_bca6_d8d1531cec79"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"temperatura","lengthValue2":"5","id":"id_84c93768_555a_4799_8453_e076a65dbd1d","initValue":"10"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tmax","lengthValue2":"5","id":"id_5ba0bdee_b514_4703_8a03_dfcc705922b3","initValue":"50"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"userInput","lengthValue2":"5","id":"id_dfd9ce22_c921_4e40_adab_19d55bb87006","initValue":"\"\""},{"newline":true,"@type":"Output","id":"id_339fe3a8_d673_4011_8952_95da784d4936","value":"\"Ingresa tu comando: t, tmax o salir\""},{"@type":"Input","name":"userInput","id":"id_fb777b38_5536_4bc2_b71f_c830ba4a4517","prompt":null},{"condition":"userInput != \"salir\"","@type":"While","id":"id_cb6c568d_5f8c_477b_9edb_cdbc67ec55e5","body":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_c530159c_5001_4409_bb68_6f712c5eaf13"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7da1ce7d_6012_44c0_af54_f60fff3cc370","value":"\"Ingresa la temperatura maxima\""},{"@type":"Input","name":"tmax","id":"id_ef50e558_e29b_47b5_9478_018be9545361","prompt":null}],"id":"id_c3774c40_de8f_4fb1_adf5_6135e5b6689d"},"condition":"userInput == \"tmax\"","@type":"If","id":"id_315b0665_e438_4ead_bc71_d0c656424cb5"}],"id":"id_b370ba04_cc53_42bb_984f_701cdd1f1f03"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c798a0d5_5f37_4f5c_98a6_f637b09982fd","value":"\"Ingresa la temperatura\""},{"@type":"Input","name":"temperatura","id":"id_e514e646_b170_4fcb_b62e_ffaabfa4a51a","prompt":null}],"id":"id_5a3e8fe6_6d4d_4909_b5ae_fa1b1a79eae6"},"condition":"userInput == \"t\"","@type":"If","id":"id_4b32a1ce_8814_4d67_bd21_fda4f7429cb3"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_535d7d2a_79fc_43ff_a6f7_b8864c93de3a","value":"\"Temperatura está en un rango aceptable\""}],"id":"id_d6ba8a59_2fb8_467e_8d49_8b5ca3772331"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_550bc99a_fcd8_42a6_98b4_7e49acd2b460","value":"\"Alerta. Alta temperatura\""},{"newline":true,"@type":"Output","id":"id_c4a99bcc_e5d0_43ff_93e9_15c4530dfc7e","value":"\"output\""}],"id":"id_a4fe67ec_145b_4026_ab05_dd7c34328bb7"},"condition":"temperatura > tmax","@type":"If","id":"id_55970281_617f_4f7c_a2ed_92c1f6050471"},{"newline":true,"@type":"Output","id":"id_0bd625cd_f281_4768_9f77_c737f97ab755","value":"\"Cual es el nuevo comando\""},{"@type":"Input","name":"userInput","id":"id_b877315d_9dfc_4332_8f8d_c73a41b33278","prompt":null}],"id":"id_46aa744a_f177_45ac_bbec_a4acb8772908"}},{"@type":"Return","id":"id_d9073876_8726_4892_80eb_282ccfe7cfa1","maybeValue":null}],"parameters":[]},"id":"id_0b3dcbce_672e_489a_a63e_4fda680d345d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":852}