by @Joshua Shackoor Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_51779d4f_34a4_4722_bd48_0d2c64fb755e"},{"@type":"Declare","tpe":"Integer","name":"count","id":"id_324c8002_40af_48c2_8f5e_b44169c570a3","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"inputNumber","id":"id_904ab9af_53a3_4943_bc45_cbe0f62faf23","initValue":null},{"@type":"Declare","tpe":"Integer","name":"sum","id":"id_2419abae_3776_496d_a536_82c3d695294c","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"average","id":"id_d3d6e10b_3664_4457_82c6_5d7f2c44f23e","initValue":"0"},{"condition":"count<5","@type":"While","id":"id_8f443622_9b00_4df1_8cef_d23a6178e2be","body":{"statements":[{"@type":"Input","name":"inputNumber","id":"id_bbc682ab_3006_40bd_86b7_ceab2feb5463","prompt":null},{"newline":true,"@type":"Output","id":"id_aa0707bf_196d_4711_bbef_cfd3463f6ff9","value":"sum=sum+inputNumber"},{"newline":true,"@type":"Output","id":"id_f3a45ba5_88de_4426_ac3b_2e8698695b12","value":"count = count+1"}],"id":"id_8ecbe04c_7f3f_4cc0_8c1a_2710523039c2"}},{"newline":true,"@type":"Output","id":"id_e6a29fad_0275_44ec_88e8_1b679d5722b4","value":"average == sum/count"},{"@type":"Return","id":"id_d3623307_21ec_48cc_a070_dbe46e566727","maybeValue":null}],"parameters":[]},"id":"id_b1feb609_368a_48f8_a9e3_cdbe118ecbc7","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":174}