by @yoelaee Fork
{"functions":[{"rawId":"id_1150d7f8_4657_45d6_b0d9_12287e2ec47a","tpe":"Void","name":"f","statements":[{"@type":"Begin","id":"id_8f98ddb8_4221_49cd_9d3f_a5d000dede94"},{"@type":"Return","id":"id_603e36a4_dda5_45ce_b46a_5f6675325eb3","maybeValue":null}],"parameters":[]}],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5d7b0cab_6753_469d_9dab_9ce65c8f642f"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Boolean","name":"TotalbelanjaaRp1000","lengthValue2":"5","id":"id_13c0bc96_ec85_4f61_9e1f_b1a7d0cfc021","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Boolean","name":"BeradadiJabodetabek","lengthValue2":"5","id":"id_23ab7596_933a_4a20_a383_2ccceb1b8456","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"VoucherPremium","lengthValue2":"5","id":"id_d8c75f34_aef1_4bd8_a783_9e7948d529f0","initValue":null},{"@type":"Input","name":"TotalBelanja","id":"id_3eeb715e_840c_4193_b1e9_99c3ebae6ea0","prompt":"10"},{"@type":"Input","name":"lokasi pelanggan","id":"id_b46c5062_47ac_44c4_aa14_121cf05302e9","prompt":"Please enter x:"},{"@type":"Input","name":"voucher promo","id":"id_3a842094_af51_4333_8a2e_ad75b797aece","prompt":"Please enter x:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4753df89_243a_4128_b4a4_338df97b3b2b","value":"\"Tidak Gratis Ongkir\""}],"id":"id_2b50342e_54ba_49c9_92c2_866099f13f2c"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4009e4cd_aa44_491a_87e3_afa3aae0cdc5","value":"\"Gratis Ongkir\""}],"id":"id_eafe9586_7aa3_4520_ac51_6c999f781669"},"condition":"(totalBelanja >= 100000 && jabodetabek) || voucherPromo","@type":"If","id":"id_60c40062_5be8_45a2_995c_e97c7fa44ae0"},{"@type":"Return","id":"id_542bcb84_9c3d_4b31_ae81_1d710b9949aa","maybeValue":null}],"parameters":[]},"id":"id_4a1402a4_8a3b_4843_90cf_28c6ec82a2de","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.3","revision":837}