by @AISWARA MAHARANI RASYID Fork
{"functions":[],"name":"New Progra","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0c5b40ee_d011_4ccd_9e03_24249765410d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"hari","lengthValue2":"5","id":"id_b189dacb_8ec6_4594_b934_a1d5670973f6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"pengeluaran","lengthValue2":"5","id":"id_70c73b7c_7356_4ae7_8247_8fedde999cfd","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"i","lengthValue2":"5","id":"id_ef5187d2_6f2c_4253_b049_c796112748f4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total","lengthValue2":"5","id":"id_88c8112b_98a8_4f86_9f39_bd5d5bb444ba","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"rata","lengthValue2":"5","id":"id_4f30aa33_04aa_4905_9b7a_de148ff6e373","initValue":null},{"newline":true,"@type":"Output","id":"id_12e8c0ce_59cb_4fbd_ba98_d89255020d01","value":"\"masukkanjumlah hari\""},{"@type":"Input","name":"hari","id":"id_379121bb_86a7_4a8b_9342_f4dcda44351c","prompt":null},{"varName":"i","incr":"1","@type":"ForLoop","start":"1","end":"hari","id":"id_db704aba_90ce_450d_9e43_2b2e36985a95","body":{"statements":[{"newline":true,"@type":"Output","id":"id_4c636966_59a3_4db0_bf15_28924a80ff85","value":"\"pengeluaran hari ke-\"+i+\":\""},{"@type":"Input","name":"pengeluaran","id":"id_5f393b68_9654_481b_9823_2d581f73b30d","prompt":null},{"@type":"Assign","name":"total","id":"id_95584ebd_7c03_4d0e_8fb2_c3a6e3ed13fb","value":"total + pengeluaran"},{"newline":true,"@type":"Output","id":"id_588aa6a6_447b_4693_a765_9a1cd1def58a","value":"\"total sesudah:\"+ total"}],"id":"id_6503b594_8058_4599_8729_645cc8cef933"}},{"@type":"Assign","name":"rata","id":"id_59888d67_d79a_477f_ab6d_cf210e989b44","value":"total/ hari"},{"newline":true,"@type":"Output","id":"id_4f543044_1439_4a74_bc6f_b1538a5fb23d","value":"\"total:\"+ total"},{"newline":true,"@type":"Output","id":"id_6241bbbb_2ace_4e4f_bbd6_88004f2ac4f9","value":"\"rata rata:\"+ rata"},{"@type":"Return","id":"id_be76caa0_c84f_4d4b_adaa_9f56abfc5d7e","maybeValue":null}],"parameters":[]},"id":"id_093690f9_5a18_4152_b335_6d2c70e20872","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":403}