by @Mattia Alexander Precob Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_28d47e33_cd98_430c_9911_19a036f8e339"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num","lengthValue2":"5","id":"id_8f7c761d_58d2_4d19_a40f_2318d268ba87","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"nome","lengthValue2":"5","id":"id_8d315867_1e3d_4148_b432_9cb6e19c6469","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"cittac","lengthValue2":"5","id":"id_5a26c8a0_1e2d_408f_8370_13b027f7742f","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"cittafre","lengthValue2":"5","id":"id_ba2e299b_3889_473f_bf7f_770ba6301e6f","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tempc","lengthValue2":"5","id":"id_0939fba2_ad99_4a35_8330_ff936c81ecea","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tempfre","lengthValue2":"5","id":"id_4cad2650_b9c2_4541_8ed7_21f6afb81517","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tempmax","lengthValue2":"5","id":"id_6b64c30a_88d0_48a5_8856_afc78f42f1d3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tempmin","lengthValue2":"5","id":"id_ec2af7c1_02d9_4f21_adfb_637fe1812e9d","initValue":null},{"newline":true,"@type":"Output","id":"id_18519113_9d7d_405a_a40a_5faef86693d1","value":"\"Fornisci il numero di citta ispezionate.\""},{"@type":"Input","name":"num","id":"id_bb2ed6e7_4fa4_4ca9_b29a_a7b82aeae84f","prompt":null},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"num","id":"id_cfc30e7d_fb61_4cee_b58f_4de390ec0558","body":{"statements":[{"newline":true,"@type":"Output","id":"id_ae5aee86_a37d_469f_be2e_08d36d76a940","value":"\"Fornisci il nome della citta.\""},{"@type":"Input","name":"nome","id":"id_5f2476fc_bb5d_42e9_845d_3ca82047310a","prompt":null},{"newline":true,"@type":"Output","id":"id_cbcc04a9_d224_437b_8ed0_d08be5bf0553","value":"\"Fornisci la temperatura massima.\""},{"@type":"Input","name":"tempc","id":"id_1f3d6c97_73eb_4b69_918b_2bc9c44d066f","prompt":null},{"newline":true,"@type":"Output","id":"id_460a10a1_2789_4f6f_ad1a_54dc5ce6f4f5","value":"\"Fornisci la temperatura minima.\""},{"@type":"Input","name":"tempfre","id":"id_97ed951f_5ec5_4c7c_994a_4e90dda6f648","prompt":null}],"id":"id_c61d09fa_a1f4_4a7a_aae4_3c3347bbc338"}},{"newline":true,"@type":"Output","id":"id_77129a39_9652_4b21_9a01_ca6dbff1a125","value":"\"Fornisci il valore massimo.\""},{"@type":"Input","name":"tempmax","id":"id_1cfb540a_19b2_43ee_b4ad_f4332384ed18","prompt":null},{"newline":true,"@type":"Output","id":"id_c3eb22d5_1ec3_4ff3_9890_4b62c136f27a","value":"\"Fornisci il valore minimo.\""},{"@type":"Input","name":"tempmin","id":"id_bab22775_593c_4031_967d_4e96d95e4d94","prompt":null},{"falseBlock":{"statements":[],"id":"id_2f055dda_27e4_471f_b61b_bd7f83fc424e"},"trueBlock":{"statements":[{"@type":"Assign","name":"tempmax","id":"id_d19e2f74_28d8_438e_9cb0_8c2b104b51ce","value":"tempc"},{"@type":"Assign","name":"cittac","id":"id_35463f52_4e6c_49e1_b1c6_2e818f623cfe","value":"nome"}],"id":"id_c1203b52_51d2_4c17_9be3_06459cdf292c"},"condition":"tempc>tempmax","@type":"If","id":"id_d37b34e4_50fe_4328_8160_58bddd4860d7"},{"falseBlock":{"statements":[],"id":"id_3f6c43b6_fc70_442e_bb41_68f968fdbf5a"},"trueBlock":{"statements":[{"@type":"Assign","name":"tempmin","id":"id_b498b41e_7a1b_4f8d_9aad_c011e4daef5a","value":"tempfre"},{"@type":"Assign","name":"cittafre","id":"id_5adc46f8_13a9_4c0f_b1ce_76e858cd6979","value":"nome"}],"id":"id_7ab184be_3249_4c05_9044_9536a337c0ee"},"condition":"tempfre<tempmin","@type":"If","id":"id_dab7d870_58b9_4a9d_9e4c_1d646caf1669"},{"newline":true,"@type":"Output","id":"id_0c379eb5_efe0_4272_9000_d0e5d52b7019","value":"\"La citta piu calda è stata “+nome+” con temperatura max di “+tempmax+” gradi mentre la piu fredda e stata “+nome+” con una temperatura minima di “+tempmin+” gradi. \""},{"@type":"Return","id":"id_feeb5d68_8d9d_43d0_8310_804aba0a77e3","maybeValue":null}],"parameters":[]},"id":"id_4f603a9f_5448_464a_b86d_31306da7c763","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":872}