by @prof. Giovanna Mannarino Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c51f4121_2e22_4d3d_bd04_348ea0271c87"},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_939f7f8c_7de8_457b_beef_33ede0d3d1bc","initValue":null},{"@type":"Input","name":"n","id":"id_7624835f_6a77_48fa_b4e5_2eec11f636bc","prompt":null},{"@type":"Declare","tpe":"Integer","name":"conta","id":"id_a437db40_a9d1_410f_aa83_fba6eb0cf3b8","initValue":"0"},{"condition":"n>=0","@type":"While","id":"id_8290b76c_e505_4c9e_97b3_28523b49c62a","body":{"statements":[{"@type":"Assign","name":"conta","id":"id_c6361493_8907_4409_a2a8_64d774674cc6","value":"conta+1"},{"@type":"Input","name":"n","id":"id_c5711754_a7fd_4d11_9076_f17fcdd9d417","prompt":null}],"id":"id_a9e5e91d_748b_4fa3_9731_31f4c81322de"}},{"newline":true,"@type":"Output","id":"id_3cca593c_9663_49f5_ace1_1095dffd9325","value":"\"conta\""},{"@type":"Return","id":"id_a1b8b59d_717e_4403_899b_92426939ef89","maybeValue":null}],"parameters":[]},"id":"id_6cbfc8c2_cf7d_45be_8d97_6d61559d5881","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":57}