by @Davin HR Fork
{"functions":[{"rawId":"id_a953badb_73a1_4110_b2a6_1770ea05d65f","tpe":"Void","name":"fun1","statements":[{"@type":"Begin","id":"id_426541ce_d32c_45bd_aff3_8daa0e9fbe0d"},{"@type":"Return","id":"id_cb4db19c_34b6_4475_8517_c4363ba69734","maybeValue":null}],"parameters":[]}],"name":"10)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_cc56d2dd_0761_4cc0_8135_19b6b7d334d4"},{"@type":"Declare","tpe":"Integer","name":"total","id":"id_16d16588_7ede_4896_b3ce_969a7f4861f4","initValue":null},{"@type":"Declare","tpe":"Integer","name":"lansia","id":"id_fba73b3b_6e5d_46d3_b886_2b6fb0b2da39","initValue":null},{"@type":"Declare","tpe":"Integer","name":"balita","id":"id_b026c937_520f_45f8_9499_8ec08cfe2b40","initValue":null},{"@type":"Declare","tpe":"Integer","name":"dewasa","id":"id_00f0f732_1630_48d0_802c_f97f5e5007e6","initValue":null},{"@type":"Input","name":"total","id":"id_fedbf86c_5bdd_4599_9116_c6798cc8ac9a","prompt":null},{"@type":"Input","name":"lansia","id":"id_d427619b_fb96_4fce_b09d_0a2709ad1269","prompt":null},{"@type":"Input","name":"balita","id":"id_59b13ba1_7417_4e48_8983_b9d1cbc4f226","prompt":null},{"@type":"Assign","name":"dewasa","id":"id_3b9018f9_32eb_481c_abf6_dec1775ee79e","value":"total-lansia-balita"},{"@type":"Declare","tpe":"Real","name":"biaya","id":"id_96b92e74_e507_4b23_bc98_a017efee597b","initValue":null},{"@type":"Assign","name":"biaya","id":"id_d1847376_1a29_4a7d_b7f7_1b28c788829d","value":"(30000*balita)+(40000*lansia)+(50000*dewasa)"},{"@type":"Declare","tpe":"Integer","name":"diskon","id":"id_2322b92c_968a_4199_8ecd_ed5ab58ab469","initValue":"0"},{"newline":true,"@type":"Output","id":"id_9b77aaad_023d_44b1_aee1_2848c6ebf2bc","value":"\"total biaya sebelum diskon\""},{"falseBlock":{"statements":[],"id":"id_86ba3164_73f4_4bd8_8063_7abbdbede343"},"trueBlock":{"statements":[{"@type":"Assign","name":"diskon","id":"id_00e4c19e_b0e4_4cb9_ad83_3138ec3e6066","value":"0.05* biaya"},{"newline":true,"@type":"Output","id":"id_e38781b8_3089_4d7d_afb6_235a30cefd4e","value":"\"diskon=\"+diskon"}],"id":"id_e102e830_9854_43f3_95b5_27352cc7b84a"},"condition":"total > 5","@type":"If","id":"id_d197e5cb_0f37_409c_b37e_d40c1c6eff3f"},{"newline":true,"@type":"Output","id":"id_736e57e5_8446_4ba1_88bb_d3fc92005704","value":"\"total biaya setelah diskon\" +(biaya diskon)+"},{"@type":"Return","id":"id_e373fa26_1240_4151_b7b5_77366ec65b84","maybeValue":null}],"parameters":[]},"id":"id_b1b48ccb_4eca_433d_aa8e_d50870f5c75f","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":421}