by @stud. Francesco Mandaradoni Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0ea1912d_f485_419a_880a_b148927f906b"},{"@type":"Declare","tpe":"Integer","name":"studenti","id":"id_7d360b28_f219_49ba_8021_5a0ebadbb451","initValue":null},{"@type":"Declare","tpe":"Integer","name":"voto","id":"id_7f89234f_35ae_4232_bcbb_bd1342580067","initValue":null},{"@type":"Declare","tpe":"Integer","name":"conta1","id":"id_b65135b6_dd72_432c_a762_6ede65138f8a","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"conta2","id":"id_fa6efe0f_ecb0_46a6_94f2_f0aacda4dab1","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"conta","id":"id_e6040332_4b86_4df4_aca7_942bbf1fc0bb","initValue":"0"},{"@type":"Input","name":"studenti","id":"id_6cd597f6_90dc_4438_ab1e_1a9e150cc898","prompt":null},{"condition":"studenti>conta","@type":"While","id":"id_a14b6b27_f427_4045_82b1_700ec952387c","body":{"statements":[{"@type":"Assign","name":"conta","id":"id_62f79489_8816_42e4_a4da_3ed679f4926a","value":"conta+1"},{"@type":"Input","name":"voto","id":"id_546c8891_e522_4eb1_83e0_a3e5ee460d1a","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3bfa7e85_780f_430c_b642_41a3dbd889b6","value":"\"è sufficiente\""},{"@type":"Assign","name":"conta1","id":"id_5586e70b_c7e8_488e_9051_4d8a1afadbec","value":"conta1+1"}],"id":"id_bcdaa5c3_9092_4291_977c_6ea1c88096de"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ed6de2ff_3f38_4bce_8d3d_103967f90da4","value":"\"è insufficiente\""},{"@type":"Assign","name":"conta2","id":"id_d8b7adb1_39aa_4a65_baac_8ab0c9dde3db","value":"conta2+1"}],"id":"id_45ebccb0_b334_4525_bcd4_d01b4e7ac25d"},"condition":"voto<6","@type":"If","id":"id_db31187f_3eb4_4f36_8ac9_ca3e8b53b163"}],"id":"id_d4fa40cc_1a02_4e4f_a4df_c008cd0cce13"}},{"newline":true,"@type":"Output","id":"id_86fe51ce_c4de_4cab_b448_e182e4d9fc2f","value":"conta2"},{"newline":true,"@type":"Output","id":"id_da961f40_1299_45e4_a78e_c337f135eb63","value":"conta1"},{"@type":"Return","id":"id_535e3e96_24bd_42e0_b77f_013f3ad84aab","maybeValue":null}],"parameters":[]},"id":"id_edcdfa43_2352_4c7b_9326_90fc255c8c58","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":370}