by @Juliano Fork
{"functions":[],"name":"ex 3 da 3 sozin","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_75466aec_6565_4ff8_883e_78eacfcbe8be"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"c","lengthValue2":"5","id":"id_bf99ad8f_10ba_47a9_aee5_4490de4a79db","initValue":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"notas","lengthValue2":"5","id":"id_0742cd11_a3d3_42c0_8801_bf8a9f593473","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"reprovados","lengthValue2":"5","id":"id_a5cc9862_79f1_4b7e_b9e4_a21745733f0b","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"aprovados","lengthValue2":"5","id":"id_0df9cabc_1605_41ed_9c38_a7133e2c1d0b","initValue":"0"},{"condition":"c<=5","@type":"While","id":"id_062342a3_d852_499c_bf1b_66dc39c4fe38","body":{"statements":[{"newline":true,"@type":"Output","id":"id_7ed0eabf_a0f8_4d4a_9612_990d7dc17123","value":"\"digite a nota\""},{"@type":"Input","name":"notas","id":"id_71885898_b258_4076_b25d_77cb8d53bf07","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"reprovados","id":"id_8793ef2b_1b73_4f34_b512_a1168358e58f","value":"reprovados + 1"}],"id":"id_48f0e9b6_4f40_45da_b696_0f920490211d"},"trueBlock":{"statements":[{"@type":"Assign","name":"aprovados","id":"id_d3b47820_8ad3_49cd_98c4_59c61d9da61b","value":"aprovados + 1"}],"id":"id_819b5087_e674_4dd4_8f50_0735396aa89c"},"condition":"notas>=6","@type":"If","id":"id_51a5a584_c526_4f01_9ff1_b3f073346e61"},{"@type":"Assign","name":"c","id":"id_93cde483_c3a7_4f65_b66e_d108caa77fcc","value":"c + 1"}],"id":"id_7233203b_30cb_4368_8011_d87167704af7"}},{"newline":true,"@type":"Output","id":"id_616c8937_1dec_473c_b9ea_3990585dc859","value":"\"esse foi o total de aluno aprovado\"+aprovados"},{"newline":true,"@type":"Output","id":"id_251c54e6_e013_4c41_a813_fca82603ce76","value":"\"esse foi o total de alunos reprovados\"+reprovados"},{"@type":"Return","id":"id_fd2390d2_26ee_40b4_b50a_78f71739600c","maybeValue":null}],"parameters":[]},"id":"id_ba6072a5_6466_4e87_9338_d034e83ff906","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":371}