by @Michele De Rosa Fork
{"functions":[],"name":"Pari e dispari","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_43151f73_6657_4e11_9d09_53766df92aed"},{"@type":"Declare","tpe":"Integer","name":"numero","id":"id_4de2e6db_1a1d_4e85_a4e2_393b1532eecd","initValue":null},{"@type":"Input","name":"numero","id":"id_301e1d59_556b_41fc_bc12_690f63e028cf","prompt":"Inserisci un numero"},{"condition":"numero > 0","@type":"While","id":"id_41e28059_acaf_46b9_a0c1_5ec999e4cb2f","body":{"statements":[{"@type":"Assign","name":"numero","id":"id_5eff24b0_fe0f_4a0e_8710_2236d7ab2c20","value":"numero - 2"}],"id":"id_252eca8c_849d_49f0_afcc_8d03327ab1ed"}},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f21ab97a_e63d_4095_a750_b625bda1817f","value":"\"Il numero è dispari\""}],"id":"id_9c162547_82ba_4c3a_a7ca_b97eb6bfcf7d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_904f12c6_235c_496a_adbc_679595b13ae2","value":"\"Il numero è pari\""}],"id":"id_11032378_8239_4892_b37e_11e56c7d4b9a"},"condition":"numero == 0","@type":"If","id":"id_0aaf225d_e533_496b_b9bb_61a368e3b120"},{"@type":"Return","id":"id_07237d2b_48c5_4167_ab2d_66dd9c8b316e","maybeValue":null}],"parameters":[]},"id":"id_288224e3_8655_4cc1_8e3d_e6de0b7e8835","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":144}