by @prof. Giovanna Mannarino Fork
{"functions":[],"name":"molinari esercizio2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_267c915c_7468_4323_a4da_deef5907cfb6"},{"@type":"Declare","tpe":"Real","name":"n","id":"id_0c0e6850_9060_4313_8dd5_8b11ae0c70a3","initValue":null},{"@type":"Declare","tpe":"Integer","name":"max","id":"id_8c8ff169_5286_4817_815d_5b3f16f8127a","initValue":null},{"@type":"Declare","tpe":"Integer","name":"media","id":"id_f2d7aa89_6238_4969_a231_5fe210b977d7","initValue":null},{"@type":"Declare","tpe":"Integer","name":"somma","id":"id_0d1d3091_4c8d_43f4_b388_42b58bc45cb4","initValue":null},{"@type":"Assign","name":"max","id":"id_8bfc35bd_a118_4791_8636_9837d769d7de","value":"0"},{"@type":"Assign","name":"media","id":"id_e0466045_03ca_4873_ab76_fed1fd4c464e","value":"0"},{"@type":"Assign","name":"somma","id":"id_ba15a2c8_c00c_4428_aecb_b42991207157","value":"0"},{"condition":"n>0","@type":"While","id":"id_1503193f_2701_4737_8e1e_4c0091a9fc66","body":{"statements":[{"@type":"Input","name":"n","id":"id_e80bb766_6cf8_4375_b390_9a187af0127a","prompt":null},{"@type":"Assign","name":"somma","id":"id_f0fc0373_6d4f_418d_8bdd_31bff6ccc68a","value":"n+1"},{"@type":"Assign","name":"max","id":"id_4b0d4f61_2235_4ec1_9c73_4adb9d12912e","value":"n+1"},{"falseBlock":{"statements":[],"id":"id_78a1cfcd_fc9f_4745_b6b6_8760e31df198"},"trueBlock":{"statements":[{"@type":"Input","name":"media","id":"id_09be14b1_a2bb_45be_89d8_3bc3594bfa81","prompt":null},{"newline":true,"@type":"Output","id":"id_200af69f_0594_4e60_b6fb_4e5492f7a407","value":"promosso"}],"id":"id_fcc2049a_92fd_46db_9d62_b3c035a72da1"},"condition":"media>=6","@type":"If","id":"id_390e01ed_7a87_4ace_9b58_91f766a68868"}],"id":"id_6e9780eb_c46d_4d65_9096_043a61e50b36"}},{"newline":true,"@type":"Output","id":"id_1cda6ad1_34a7_4542_907e_66fd8b45ece3","value":"respinto"},{"@type":"Return","id":"id_3cc9a293_61ae_4f4e_9114_b4725813ad9f","maybeValue":null}],"parameters":[]},"id":"id_fc5dc827_9998_428b_a6bb_c733b6a75a8b","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":169}