{"functions":[],"name":"esercizio 3 ALICE aBATE","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7eed081b_08f7_4cb6_aded_224fbe578f34"},{"@type":"Declare","tpe":"Integer","name":"conta","id":"id_76acede9_32e2_4808_8f71_5bbeef105c4f","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"contasi","id":"id_ed0d5984_9f28_4813_9070_5d5c0cf043a5","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"contano","id":"id_ddb90341_5bcf_45f8_bb2a_bd2109363c7b","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"tot","id":"id_3f357dca_bb33_45d8_acb6_080153d0af66","initValue":null},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_428d23a7_e2ef_44c5_b4d9_e0d6ef7526ed","initValue":null},{"@type":"Input","name":"n","id":"id_9fa43abd_e14d_4de0_aef1_21593775df03","prompt":null},{"@type":"Declare","tpe":"String","name":"risposta","id":"id_2fa07d50_5bc0_451c_9ab1_09d9879d8b3c","initValue":null},{"condition":"conta<n","@type":"While","id":"id_cd6c8ea7_cdf3_4619_b79f_af3e26fdd176","body":{"statements":[{"newline":true,"@type":"Output","id":"id_94100d82_47b1_4b5c_816d_57efcb9d3c09","value":"\"vuoi partecipare al corso? \""},{"@type":"Input","name":"risposta","id":"id_6dce4bac_ba52_4b29_88f1_4d953d35e05d","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"contano","id":"id_66ce1b28_c4c4_4243_ad1d_64dd27d3137b","value":"contano+1"}],"id":"id_3ee53c37_61dc_4644_9d0e_87c310738066"},"trueBlock":{"statements":[{"@type":"Assign","name":"contasi","id":"id_3be7ba54_6423_42f3_a392_42d2888ae5f8","value":"contasi+1"},{"@type":"Assign","name":"tot","id":"id_5172ae3b_888f_4d93_8993_9d27fb6aaed5","value":"(contasi*100)/n"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3378274a_19b8_4a60_9000_4a9a56f962e0","value":"\"il corso non inizia\""}],"id":"id_0117f45c_5b7f_455e_adb2_07551c626c11"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b2cf586f_3829_40fa_b9a9_05df9c87a057","value":"\"il corso inizia\""}],"id":"id_ee03b682_d9cb_43d7_a564_b4666b578d80"},"condition":"tot>=60","@type":"If","id":"id_cb290816_1833_46d0_94a5_42f51cd8b891"}],"id":"id_8c63dbd8_e699_4c4b_ac2b_81eb0b169da3"},"condition":"risposta==\"si\"","@type":"If","id":"id_cf158b0c_1dc7_47c9_b982_01f8fbfb59e8"},{"@type":"Assign","name":"conta","id":"id_375b9301_61f2_4688_ac5c_eeed353ac48e","value":"conta+1"}],"id":"id_b77ef163_f77b_443a_92b0_1d5179227372"}},{"@type":"Input","name":"tot","id":"id_aac70214_c466_4fab_a726_8910671f1dd8","prompt":null},{"newline":true,"@type":"Output","id":"id_1964fc39_d00e_4514_9a9a_1e4f3021c060","value":"\"ci sono +tot+ iscritti\""},{"@type":"Return","id":"id_a138f023_b18a_4e7d_ba02_5f64ecfcec06","maybeValue":null}],"parameters":[]},"id":"id_d716f357_d029_43fd_ad01_d4eacc9bcd00","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":344}