{"functions":[{"rawId":"id_30108755_3a76_49fa_9727_4b24f23e6d85","tpe":"Void","name":"Begin","statements":[{"@type":"Begin","id":"id_5ea3d619_7bd7_4580_b025_f53181bfc49a"},{"@type":"Declare","tpe":"Integer","name":"total","id":"id_53b2a529_cd3a_4674_830f_a4b2f8d5ddfd","initValue":null},{"@type":"Declare","tpe":"Integer","name":"balita","id":"id_2989d1ec_4bef_4601_b9a8_c47e09be5069","initValue":null},{"@type":"Declare","tpe":"Integer","name":"lansia","id":"id_4367f396_4e8e_4c46_b7cc_7bea3ad42b08","initValue":null},{"@type":"Declare","tpe":"Integer","name":"dewasa","id":"id_ed019795_ad5d_4509_90a4_f711eb61ba9d","initValue":null},{"@type":"Input","name":"total","id":"id_a2d605b8_ceaa_4d5d_bbc9_0be783e5c0a4","prompt":null},{"@type":"Input","name":"balita","id":"id_c3af917f_b4f7_4370_a163_e96abebcce98","prompt":null},{"@type":"Input","name":"lansia","id":"id_44bd652a_ec3a_4b87_95ff_116b422f5078","prompt":null},{"@type":"Assign","name":"dewasa","id":"id_608d78c1_5561_4372_8512_71c1506521f1","value":"total-lansia-balita"},{"@type":"Declare","tpe":"Real","name":"biaya","id":"id_9d3cf250_1f50_455f_927c_8f6528b4846e","initValue":null},{"@type":"Assign","name":"biaya","id":"id_84e74ccb_8c69_4336_84db_99b92d8746bc","value":"(30000*balita)+(40000*lansia)+(50000*dewasa)"},{"@type":"Declare","tpe":"Real","name":"diskon","id":"id_6723edbe_b375_454e_bd1b_b9674e3e7e45","initValue":"0"},{"newline":true,"@type":"Output","id":"id_49194b12_7fd5_4571_9219_c1c9def1edd6","value":"\"total biaya sebelum diskon =\"+biaya"},{"falseBlock":{"statements":[],"id":"id_940a9868_cd90_4316_b831_ce4033fbd769"},"trueBlock":{"statements":[{"@type":"Assign","name":"diskon","id":"id_cff22c01_6021_4e29_b32b_f22e8d375dae","value":"0.05*biaya"},{"newline":true,"@type":"Output","id":"id_f877dd7d_9ad9_46bd_ba6d_338f08256106","value":"\"Diskon = \"+diskon"}],"id":"id_317ef1fe_11f0_4ded_94f9_7a0111323a72"},"condition":"total > 5","@type":"If","id":"id_64ee811c_462a_4e80_9fd8_af835aa972ed"},{"newline":true,"@type":"Output","id":"id_e125161c_17eb_4d8d_82c6_ffbc12196ff3","value":"\"harga setelah diskon = \"\"+(biaya-diskon)"},{"@type":"Return","id":"id_3ad0db23_6708_41a6_b8ff_2a22a9e885aa","maybeValue":null}],"parameters":[]}],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c4478b1f_3945_4668_8527_720b83064481"},{"@type":"Declare","tpe":"String","name":"namacustomer","id":"id_ee10d456_9280_4eb9_bc2b_905d0b16598d","initValue":null},{"@type":"Assign","name":"namacustomer","id":"id_050a0ff7_2232_4a22_abab_bed38b1e6c9b","value":"\"NIKOOOOOO\""},{"@type":"Input","name":"namacustomer","id":"id_57d57200_7f6b_4a5f_98cd_1da6a17a15c0","prompt":"Tuliskan Nama Customer"},{"newline":false,"@type":"Output","id":"id_89348d68_d074_4954_9bc3_cfd9bdc72594","value":"\"Halo selamat datang, \"+namacustomer+\"!\""},{"falseBlock":{"statements":[],"id":"id_20d8abf2_850b_4a33_9b35_f1979d971918"},"trueBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_2b3aba1b_b0f9_4c66_8ad9_9528e80dfe83","value":"\" Udah punya pacar ya?\""}],"id":"id_000ca450_fe8a_4ce8_90e5_626e65ddb1de"},"condition":"namacustomer == \"Azky\"","@type":"If","id":"id_98fc7d5d_9347_4300_a706_1dfb7d6122de"},{"@type":"Return","id":"id_23a0d7be_c260_432b_af97_918d6cc012c7","maybeValue":null}],"parameters":[]},"id":"id_fabb928d_13a2_4616_adcf_5bbda08f8eff","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.2","revision":1169}