by @Juan Camilo Davila Osorio Fork
{"functions":[],"name":"ejercicio 26.2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1485b3ff_31bb_46d9_808a_4b2eacebc053"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"comando","lengthValue2":"5","id":"id_de46bb5b_2f4a_4172_b202_a5af708f1b81","initValue":"\"\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"temp","lengthValue2":"5","id":"id_17790044_447f_4e01_a83d_4596d6a84458","initValue":"0.0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"tmax","lengthValue2":"5","id":"id_cb763e77_7eca_43fd_a111_c6cb5a46f9e7","initValue":"40"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"mens","lengthValue2":"5","id":"id_dee8517b_dbf2_43b4_b0d4_c6f7f9392791","initValue":"\"\""},{"newline":true,"@type":"Output","id":"id_bda96946_c153_4ec1_bf56_24f75b6e2a82","value":"\"cual es tu comando?\""},{"@type":"Input","name":"comando","id":"id_630cad03_a457_4e20_a764_6715d3349920","prompt":null},{"condition":"comando != \"salir\"","@type":"While","id":"id_5671da46_4069_43c3_ae23_4a83322afdfe","body":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_db1a195e_b010_4f26_ac85_5a0f326a5c70","value":"\"comando desconocido\""}],"id":"id_38ac6479_cba4_4b3f_ad3c_f4136e1bbf80"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3e364c26_3c9a_4139_ab1c_eeebf1df6b7f","value":"\"cual es la nueva tmax\""},{"@type":"Input","name":"tmax","id":"id_0ef3b6db_a8e0_4b82_aa03_6f2e8b7c42df","prompt":null}],"id":"id_d502b116_015b_423e_82d1_f43dcbc30f29"},"condition":"comando == \"tmax\"","@type":"If","id":"id_0defb5a1_f425_432d_a234_05303fe062e5"}],"id":"id_490e4c31_e996_46c1_9d8a_181a2bdbc281"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e2fa0c83_c726_4dce_9ba6_277d8965977e","value":"\"ingrese la temperatura actual\""},{"@type":"Input","name":"temp","id":"id_b8c956a5_df60_482f_a83a_86d68e8dae2a","prompt":null}],"id":"id_3bb02915_808c_475e_a401_8085c245a0a0"},"condition":"comando == \"temp\"","@type":"If","id":"id_1357d775_ea89_4c4f_8291_795196cdebe4"},{"falseBlock":{"statements":[{"@type":"Assign","name":"mens","id":"id_3f2d7164_e451_4d08_8886_d9487610e604","value":"\"alerta sobrecalentamiento\""}],"id":"id_0177d2ea_e07c_40a1_8e0c_997cb0d5ff57"},"trueBlock":{"statements":[{"@type":"Assign","name":"mens","id":"id_c9a28b1c_2690_4d2e_bc6e_9b4edac981b9","value":"\"bien, temp normal\""}],"id":"id_83a11775_19be_4ead_bec5_e63a413c7e4b"},"condition":"temp <= tmax","@type":"If","id":"id_21df9c06_36df_4aec_a6af_fa3e193f4192"},{"newline":true,"@type":"Output","id":"id_3d7e8872_d620_49e9_bfca_21a31732cb59","value":"mens"},{"newline":true,"@type":"Output","id":"id_77377424_c302_40df_bbae_f592d6cc8fcc","value":"\"cual es el nuevo comando\""},{"@type":"Input","name":"comando","id":"id_599fbf83_d416_45c1_ab47_770f97393947","prompt":null}],"id":"id_6e84be8b_8028_4071_9087_ae8e35a43138"}},{"@type":"Return","id":"id_e066c080_7d93_4aa0_949b_ac4da4bdc4e8","maybeValue":null}],"parameters":[]},"id":"id_8048029f_7a75_4add_bdfe_a904f74fad91","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":468}