by @Alex Dias Gonsales Fork
{"functions":[],"name":"L3_ex_03_qt_alunos_ap_rep","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c000ca1e_be1a_4430_bfa3_87ff4fe8b5e8"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"c","lengthValue2":"5","id":"id_f501b6c0_e2c5_4963_8d18_be491d27bae4","initValue":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tap","lengthValue2":"5","id":"id_85b94f37_2c23_4ef6_90b8_6752066a4575","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"trep","lengthValue2":"5","id":"id_809fda80_af99_4fd9_bd1d_1f15ff8a30ab","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nota","lengthValue2":"5","id":"id_2e77e158_edf7_4143_8467_285e6c1337e2","initValue":null},{"condition":"c <= 5","@type":"While","id":"id_7034e603_55b5_4512_ae16_c6f7fd6540b0","body":{"statements":[{"newline":true,"@type":"Output","id":"id_037a9ade_3a09_4d6b_8327_ea6477129f56","value":"\"Digite a nota: \""},{"@type":"Input","name":"nota","id":"id_a98de86e_085a_4048_b23c_a20d29ee098a","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"trep","id":"id_f935fb59_093b_410f_9e79_b680df98bd87","value":"trep + 1"}],"id":"id_4a401036_d2c4_4fdf_ba34_1a53c8475aa1"},"trueBlock":{"statements":[{"@type":"Assign","name":"tap","id":"id_f911c085_212a_4c95_aa8b_0a9720fbd112","value":"tap+1"}],"id":"id_ee3d3ca9_0a50_41cb_8bbe_dc7ab919d7b3"},"condition":"nota >= 7","@type":"If","id":"id_d9f67905_b7ba_4cac_a596_f86785b25ccb"},{"@type":"Assign","name":"c","id":"id_ec023b50_dd32_4064_b2c4_3dfd96d8ca3d","value":"c + 1"}],"id":"id_ae48ac85_3834_4fcc_84a7_0d241e3f9e8d"}},{"newline":true,"@type":"Output","id":"id_93211bbd_2c49_4d27_bd1b_a05817ba40d2","value":"\"Total aprovados = \" + tap"},{"newline":true,"@type":"Output","id":"id_ec052733_0bdb_4416_93b0_e9343e28c5fd","value":"\"Total reprovados = \" + trep"},{"@type":"Return","id":"id_ecf3ab68_9734_4301_895b_e120c902bef0","maybeValue":null}],"parameters":[]},"id":"id_248e109f_dc1c_4b04_871b_10ede053a806","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":245}