by @prof. Giovanna Mannarino Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_18fca918_ea36_467d_addf_b2c8384c68ab"},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_c522b03d_a435_4914_9634_e2b08fee8bbe","initValue":null},{"@type":"Declare","tpe":"Integer","name":"conta","id":"id_185ce08c_4135_4f1d_af5c_c61a1eed52b2","initValue":null},{"@type":"Assign","name":"conta","id":"id_9b951f1d_3e81_482e_bbd1_f7f8f28fa3ff","value":"0"},{"@type":"Input","name":"n","id":"id_eb71f152_9c18_42a6_b633_205b201f2aa9","prompt":null},{"condition":"n%2","@type":"While","id":"id_a15835f4_78d3_4fb5_ad67_6abf67bfa3d8","body":{"statements":[{"@type":"Assign","name":"conta","id":"id_54a96f5e_e5a9_4af0_a9db_043fd1a7d374","value":"conta + 1"},{"@type":"Input","name":"n","id":"id_8017b0d4_fa10_412c_ba1f_64cd7034a335","prompt":null},{"@type":"Input","name":"x","id":"id_be1c4b5b_db06_45ef_a95f_2899531b7f80","prompt":null}],"id":"id_84d9904c_12e6_4a87_b773_b58987770673"}},{"@type":"Return","id":"id_89499cc3_1875_4ad1_acb9_ffa14b8271b4","maybeValue":null}],"parameters":[]},"id":"id_272741e8_4bf1_472f_b3e6_d5bc6f8d3ba1","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":52}