by @Mochammad Dzaki Rahadi Fernando Putra Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e2d81d51_24c9_421d_af9d_381577760fae"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"total","lengthValue2":"5","id":"id_24eab95d_3d01_4f64_9c7f_b358afa77cf8","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"i","lengthValue2":"5","id":"id_378f9d88_8eca_4246_ac50_a29921f21459","initValue":"1"},{"@type":"Input","name":"pengeluaran","id":"id_e25c5a0a_ac49_46f5_b428_89a09c79aae0","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"total","lengthValue2":"5","id":"id_27db4cf9_14ea_4036_8e0b_17aa542c2814","initValue":"total + pengeluaran"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"i","lengthValue2":"5","id":"id_42c5ee37_b800_487b_a29f_bfd6af0dea39","initValue":"i+1"},{"falseBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"rata2","lengthValue2":"5","id":"id_59a1253b_720e_4782_8003_84a33e395d21","initValue":"total / 7"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"bulan","lengthValue2":"5","id":"id_b52c4e4f_e123_4b92_8e5a_b6e4ea0b3a9e","initValue":"total * 4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tahun","lengthValue2":"5","id":"id_13b43328_df09_4d4c_8ba3_9bbedb47301c","initValue":"bulan * 12"}],"id":"id_be98ad1c_5fea_4575_b52b_82d5c50f4122"},"trueBlock":{"statements":[],"id":"id_9209d527_dc4f_4d7c_8308_66bde0db1ebe"},"condition":"true","@type":"If","id":"id_2cb289d2_b8b1_49b5_a3f5_8804a04cdbc3"},{"newline":true,"@type":"Output","id":"id_7876f95d_645c_43fa_8c9d_5a89253ac835","value":"\"Total 7 hari: \""},{"newline":true,"@type":"Output","id":"id_a81a228e_0a85_4be8_b1ca_188a4bcb44d7","value":"\"Rata-rata: \""},{"newline":true,"@type":"Output","id":"id_86471aab_6653_4ba2_b163_187eb0a23099","value":"\"Total per bulan: \""},{"newline":true,"@type":"Output","id":"id_734a9b6e_2509_48f6_bd4a_b87a95715aba","value":"\"Total per tahun: \""},{"@type":"Return","id":"id_a7345bdf_afd2_477c_9490_fa059c43915c","maybeValue":null}],"parameters":[]},"id":"id_26e279eb_2d15_4a09_960c_a3c4c649c49d","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":56}