by @Carlos Eduardo Carvalho Fork
{"functions":[],"name":"L3:3","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_49bc5ad2_e23e_48d2_88eb_3f79efc8a1c3"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"c","lengthValue2":"5","id":"id_29d89872_2c3e_4378_8721_eea9c803c0af","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nota","lengthValue2":"5","id":"id_0db4f9cb_6844_414f_a518_953e8115129d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"aprovados","lengthValue2":"5","id":"id_ce9a0e7f_b197_4d92_b3db_0942b485d3b1","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"reprovados","lengthValue2":"5","id":"id_4c09dac6_fcd8_494d_a41f_d897e286225f","initValue":"0"},{"condition":"c<=5","@type":"While","id":"id_cbdb0a1f_774e_4202_8f11_ec2c3d4d7448","body":{"statements":[{"newline":true,"@type":"Output","id":"id_2bf96c0a_3c70_4c9c_b2b5_58149f543aa6","value":"\"digite a nota\""},{"@type":"Input","name":"nota","id":"id_befb140e_d717_448d_9176_890762677e60","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"reprovados","id":"id_15518574_f915_4e17_9b56_8a6f50732c33","value":"reprovados+1"}],"id":"id_3b8ab7be_902b_4f73_924c_53b1250de0b7"},"trueBlock":{"statements":[{"@type":"Assign","name":"aprovados","id":"id_55364ad0_f34a_4115_9ee2_c8483d90dede","value":"aprovados+1"}],"id":"id_9cc850b9_b0fe_410f_b9c1_6f0f3b1b9809"},"condition":"nota>=6","@type":"If","id":"id_183614d7_acde_467a_864c_3c790b4ea81b"},{"@type":"Assign","name":"c","id":"id_4ba9556c_c373_4948_a460_d96a34b6e0aa","value":"c+1"}],"id":"id_1b98c961_e2be_430f_96f9_b76707a1ccfb"}},{"newline":true,"@type":"Output","id":"id_28528379_a245_407e_9fdb_5cddc8692cbe","value":"\"o resultado de alunos aprovados foi:\" + aprovados"},{"newline":true,"@type":"Output","id":"id_e73eb0bd_31a3_433f_9182_84331565d8db","value":"\"o total de alunos reprovados foi:\" +reprovados"},{"@type":"Return","id":"id_732a348b_57bd_4a9f_9a3a_49f1ac62299e","maybeValue":null}],"parameters":[]},"id":"id_21df8c81_59d0_4d58_a836_03f7b4623878","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":479}