by @Kitan Babade Fork
{"functions":[],"name":"counttoten","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_4573e065_bbc0_4c41_90e5_ec66b45f8b54"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"countto","lengthValue2":"5","id":"id_20850244_9fc6_4df3_962f_fdc01429f80a","initValue":"1"},{"newline":true,"@type":"Output","id":"id_7cf77283_531f_4800_b591_7eea1aee352c","value":"\"Counting to 10\""},{"condition":"countto <= 10","@type":"While","id":"id_b346a125_c55d_4dda_8a95_2358b85f6ac9","body":{"statements":[{"newline":true,"@type":"Output","id":"id_4a9c437b_2d8e_4b24_9108_f695d2712bb2","value":"countto"},{"@type":"Assign","name":"countto","id":"id_b1c093a6_a9f0_404b_a80c_b9e0f480bd8b","value":"countto + 1"}],"id":"id_8a91c3fa_c7dd_4fcd_a348_9acdbbaa672c"}},{"newline":true,"@type":"Output","id":"id_e4605833_2bd4_4455_8e9a_2189a5c26193","value":"\"Finished counting!"},{"@type":"Return","id":"id_36687725_5d18_4f59_bcf4_28ae29b4bcc0","maybeValue":null}],"parameters":[]},"id":"id_dd627433_c96b_4b02_88b5_2742ef348638","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":200}