by @pedro costa Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_56867f14_cb06_4242_9cbf_d58314a10ae8"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"c","lengthValue2":"5","id":"id_87e677d8_d909_425c_94c7_f23f6fb4f08e","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nota","lengthValue2":"5","id":"id_c763e8a0_c620_4466_9500_ca6d03c633ed","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"aprovados","lengthValue2":"5","id":"id_203dd359_d2ae_40d1_9b7c_dbcede49998a","initValue":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"reprovados","lengthValue2":"5","id":"id_4e8af569_4bf8_4ad0_969e_b6c09aaf446d","initValue":"1"},{"condition":"c < 5","@type":"While","id":"id_18665643_f341_4cef_9c98_3897fe863a50","body":{"statements":[{"newline":true,"@type":"Output","id":"id_7eabdebc_7685_4d8e_acf9_a0cc19b6982f","value":"\"digite a nota\""},{"@type":"Input","name":"nota","id":"id_5d383c73_db4f_4d9f_81fb_73612a31af6c","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"reprovados","id":"id_d572d6d0_07ce_45a6_8323_0bff1b5e03ba","value":"reprovados + 1"}],"id":"id_85a3a7e0_3e1f_404b_88b8_514283aa75bb"},"trueBlock":{"statements":[{"@type":"Assign","name":"aprovados","id":"id_65116e17_20b7_42f9_a344_4cdd7350d2f2","value":"aprovados + 1"}],"id":"id_a03fa5bb_25d7_4760_bc6a_0ac819729a5b"},"condition":"nota > 6","@type":"If","id":"id_37f9bf95_717e_4c87_9d1f_32d0bf82f9c4"},{"@type":"Assign","name":"c","id":"id_2dc44d04_83f3_4628_9479_770e871f8399","value":"c + 1"},{"newline":true,"@type":"Output","id":"id_f37eca52_310e_4aaf_a184_326cd325c268","value":"\"aprovados foi:\" + aprovados"},{"newline":true,"@type":"Output","id":"id_37b817b9_d866_454b_800b_024e36758da5","value":"\"reprovados foi:\" + reprovados"}],"id":"id_aa8c4d77_a28e_4f51_b1ad_c978a1e4178f"}},{"@type":"Return","id":"id_75e95839_b5b1_441e_95a7_db2362368682","maybeValue":null}],"parameters":[]},"id":"id_5fdf616e_6f38_4610_a5f8_3fe560592643","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":586}