by @MUHAMMAD BILAL Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_89cdd9cf_aed1_4a95_bc4d_18a5323fb0c4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"cout","lengthValue2":"5","id":"id_655b6611_d240_4fe5_9724_d5cc6fbc1dca","initValue":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"max","lengthValue2":"5","id":"id_b35bc609_8f0b_40f3_bb87_07cefa004905","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num","lengthValue2":"5","id":"id_a1d8bb2c_d882_4194_be73_c84133013458","initValue":"0"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cbbe10ec_1093_4daa_8a6f_d33033d569e1","value":"max"}],"id":"id_18797191_c430_4567_9250_dae00298882e"},"trueBlock":{"statements":[{"@type":"Input","name":"num","id":"id_1f8a8e6a_1a53_4c08_82a7_936bc5e75b76","prompt":null},{"condition":"num>max","@type":"While","id":"id_759418d1_f298_47e4_a853_4a303b7d07f7","body":{"statements":[{"newline":true,"@type":"Output","id":"id_d0d6d396_90f8_47d1_a887_535a15a1bc46","value":"max==num"}],"id":"id_fff541a4_4f22_4c7f_ac8b_dd538702a850"}},{"@type":"Assign","name":"cout","id":"id_bbc749c2_6f1e_4ee5_9e61_215ed5cedf0e","value":"cout+1"}],"id":"id_e30a237c_8d61_4a3e_9ac1_fc1439b6d27f"},"condition":"cout<=5","@type":"If","id":"id_ffc79e48_49fb_4368_892c_96708677b7ba"},{"@type":"Return","id":"id_82e9cbed_864e_42c1_b409_e42462f3abd6","maybeValue":null}],"parameters":[]},"id":"id_a768a0f8_0261_403d_b68c_0767e43d055b","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":143}