{"functions":[],"name":"Esercizio 3 Martina Conidi","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b0834455_5813_407b_ae5b_8cc20d53086a"},{"@type":"Declare","tpe":"Integer","name":"numeri","id":"id_a2755745_98c5_4be4_a50e_7f1671af2f17","initValue":null},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_d1231fe1_671d_4f5e_84be_81c0581c56cf","initValue":null},{"@type":"Declare","tpe":"Integer","name":"r","id":"id_635353f6_aa54_40cf_bab5_87c34204758a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"sommap","id":"id_d236d917_3ab8_4748_81b6_342f434232e4","initValue":null},{"@type":"Declare","tpe":"Integer","name":"sommad","id":"id_b4be2f1b_01fa_4262_a572_921db62f77df","initValue":null},{"@type":"Declare","tpe":"Integer","name":"maxp","id":"id_b93d810c_ff55_4aba_93c2_dc05063bbeb2","initValue":null},{"@type":"Declare","tpe":"Integer","name":"mind","id":"id_975a8fe0_667a_4b8b_b09c_57deab9a53e0","initValue":null},{"@type":"Assign","name":"maxp","id":"id_32222585_721c_4bda_ac69_97a24d3941e0","value":"0"},{"@type":"Assign","name":"sommap","id":"id_f83a034c_2f44_40c9_a3a6_f97641e5dd1a","value":"0"},{"@type":"Assign","name":"sommad","id":"id_ef246365_52c6_48b1_80cf_68e42f35bf78","value":"0"},{"@type":"Assign","name":"numeri","id":"id_9556a0e6_c530_41ce_8777_6b6c0339f8eb","value":"0"},{"condition":"numeri<10","@type":"While","id":"id_deb75d97_4cef_44fe_844b_c069ed10cb86","body":{"statements":[{"newline":true,"@type":"Output","id":"id_66990395_927d_4230_be23_25c24dc589e9","value":"\"inserisci il numero\""},{"@type":"Input","name":"n","id":"id_be3d3b84_cdfc_49c5_a587_550bdb69789a","prompt":null},{"@type":"Assign","name":"numeri","id":"id_9ba43925_0769_406f_95bd_de4e6e6764c3","value":"numeri+1"},{"@type":"Assign","name":"r","id":"id_e5d5c507_d387_4013_9c04_082b09fb4bd3","value":"n%2"},{"falseBlock":{"statements":[{"@type":"Assign","name":"sommad","id":"id_82c87b54_6178_49fc_a301_b9093ce870cb","value":"sommad+n"},{"@type":"Assign","name":"mind","id":"id_680d23e1_8ea7_4dc4_abf1_cce70f5e8e6f","value":"n"},{"falseBlock":{"statements":[{"@type":"Assign","name":"mind","id":"id_750a1903_9445_4038_b3ec_94ae1e52af06","value":"mind"}],"id":"id_b98bb7ec_3017_4459_b877_1c4035392bf4"},"trueBlock":{"statements":[{"@type":"Assign","name":"mind","id":"id_11208fe3_3b6b_4b37_92d2_32d239a68d5a","value":"n"}],"id":"id_995e1531_733a_4bca_a9c1_ddc7f6c8b605"},"condition":"n<mind","@type":"If","id":"id_0fd27bdf_ca95_4fcc_89ec_f4fdc54a83cb"}],"id":"id_f36733c7_ec66_4c97_96e2_35fd2da154b1"},"trueBlock":{"statements":[{"@type":"Assign","name":"sommap","id":"id_086295be_4a96_4477_805c_06e55a8889f0","value":"sommap+n"},{"falseBlock":{"statements":[{"@type":"Assign","name":"maxp","id":"id_45474263_11e6_4efd_afc4_77c96780b9d8","value":"maxp"}],"id":"id_d49ad2cb_cbda_40b8_963d_048f14bdd0cf"},"trueBlock":{"statements":[{"@type":"Assign","name":"maxp","id":"id_b9085549_7b90_41ae_83b7_6dcb1fe1662f","value":"n"}],"id":"id_2ef1a610_ea58_4d91_9245_a5c5a322712e"},"condition":"n>maxp","@type":"If","id":"id_1a51250f_a247_4087_81cb_ab91e6d26011"}],"id":"id_fbab4d45_4231_4281_b31e_4582807e5fca"},"condition":"r==0","@type":"If","id":"id_a9b40099_1575_4639_93a0_77300aaf9cf8"}],"id":"id_b23698f2_9c81_411c_818b_7866347a8b94"}},{"newline":true,"@type":"Output","id":"id_827f6c48_cd4f_4911_bc31_ed57167b029a","value":"\"il massimo dei numeri pari è \"+maxp"},{"newline":true,"@type":"Output","id":"id_e7810dc8_02e5_479b_902a_af236b5737cc","value":"\"il valore minimo dei numeri dispari è \"+mind"},{"newline":true,"@type":"Output","id":"id_c27c645a_98f9_4361_ba82_d7c613f068a1","value":"\"la somma dei numeri pari inseriti è \"+sommap"},{"newline":true,"@type":"Output","id":"id_9d8ebebe_4538_4ed9_8aba_d6204481e48d","value":"\"la somma dei numeri dispari inseriti è \"+sommad"},{"@type":"Return","id":"id_56082598_a016_4d1a_9f4b_f18e6d56a8fc","maybeValue":null}],"parameters":[]},"id":"id_e3c14fb0_0796_4d51_8abc_261582d972e0","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":594}