by @stud. Francesco Mandaradoni Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d3503c5d_cdcc_4603_8f0b_e98cdf9d359a"},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_aaddaac6_ad5c_4d8d_8366_7fda1448620f","initValue":null},{"@type":"Declare","tpe":"Integer","name":"pari","id":"id_bc017908_53d1_47cf_9eec_31eaf6690137","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"conta","id":"id_c0700a7e_7c3d_41bd_83fd_7360eb2373da","initValue":"0"},{"condition":"conta<5","@type":"While","id":"id_acb0f381_ed87_4202_9721_e4424e1c0d8c","body":{"statements":[{"@type":"Assign","name":"conta","id":"id_a4341fd0_b228_4135_9bb4_59f36d3c1db9","value":"conta + 1"},{"@type":"Input","name":"n","id":"id_979ea642_d25e_4bf2_a9c8_43d5a855d607","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c5f77590_a3e5_43f3_a569_8287334c122a","value":"\"il numero è dispari\""}],"id":"id_32d74e56_3a51_4283_9c95_308de916dbd9"},"trueBlock":{"statements":[{"@type":"Assign","name":"pari","id":"id_67e5fc02_32c6_412a_8c21_c620472dc592","value":"pari +1"},{"newline":true,"@type":"Output","id":"id_bae67ce7_f974_46b5_a6ad_8727668acf2e","value":"\"il numero è pari\""}],"id":"id_6b312bf6_11ef_4cb0_81e9_6d24b3c8e438"},"condition":"n%2==0","@type":"If","id":"id_9ffde6ee_53a4_4c31_ad08_b4ddfab66468"}],"id":"id_a3905baa_3d5b_4138_92eb_94ea36ac24b5"}},{"newline":true,"@type":"Output","id":"id_39d5fa87_ec19_43f1_8b45_c458ce426cbb","value":"\"i numeri pari sono \"+ pari"},{"@type":"Return","id":"id_cda665d8_c2fc_4f04_9adb_4118448c3871","maybeValue":null}],"parameters":[]},"id":"id_72a1063c_5cc0_4387_83c8_66544b16b159","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":156}