{"functions":[],"name":"Perhitungan Penghasilan 1tahun","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1685c562_f022_4b85_a2e5_75c13fa1eb41"},{"@type":"Declare","tpe":"Integer","name":"penghasilan","id":"id_6ec24e3a_1681_4f67_ba52_463bbbab0868","initValue":null},{"@type":"Declare","tpe":"Real","name":"hitungTabungan","id":"id_bfc7db2d_5f81_49a1_81bc_edcee18a6a17","initValue":null},{"@type":"Declare","tpe":"Real","name":"hitungPengeluaran","id":"id_10f0c985_b72c_4bb2_bf57_5c246713e0e8","initValue":null},{"@type":"Input","name":"penghasilan","id":"id_53e57d0e_8b9f_48d9_a078_cb31b9d74090","prompt":"Masukkan penghasilan tahunan anda"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_908ac454_eca2_42fd_a487_35c3f6f70094"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4248aa48_d15a_4a29_a9dd_7d2db28de843","value":"\"Penghasilan anda termasuk kategori = Penghasilan tinggi\""},{"@type":"Assign","name":"hitungTabungan","id":"id_a48b3a50_3d6f_40c3_a22d_b574bea3658e","value":"ceil(penghasilan - 0.20)"},{"newline":true,"@type":"Output","id":"id_65ba0b62_18b1_4fd3_b7f5_941a1b388708","value":"\"Tabungan yang disarankan = Rp \"+hitungTabungan"}],"id":"id_fe3a9953_13c0_43a2_96af_06debe14d934"},"condition":"penghasilan > 150000000","@type":"If","id":"id_6e86ff5f_bfc1_41fd_8dd7_85a4299b95f8"}],"id":"id_a6c6dc48_7d2e_4991_9542_9bf6b09458e6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_83db8a13_4d8a_4314_9ec2_f1f6e69b117f","value":"\"Penghasilan anda termasuk kategori = Penghasilan menengah\""},{"@type":"Assign","name":"hitungTabungan","id":"id_83dab767_7d54_4e4c_9f41_94b44b983384","value":"ceil(penghasilan - 0.15)"},{"newline":true,"@type":"Output","id":"id_50dd326c_ff9f_43fd_a1d3_6094be0e275d","value":"\"Tabungan yang disarankan = Rp \"+hitungTabungan"}],"id":"id_365a8d85_ff81_4036_a1d9_9146c67f8c94"},"condition":"penghasilan <= 150000000","@type":"If","id":"id_d59fbf7d_17a4_42e2_b6c4_50f6f8e23401"}],"id":"id_914d1ef7_8ba5_4809_b938_b3163c3add12"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_53aa8e3c_f6dd_4bf8_91ba_63a4a490366b","value":"\"Penghasilan anda termasuk kategori = Penghasilan rendah\""},{"@type":"Assign","name":"hitungTabungan","id":"id_2cd84132_a913_461a_8175_bf8fd8376ab6","value":"ceil(penghasilan - 0.1)"},{"newline":true,"@type":"Output","id":"id_216a6bfd_2d13_4459_9f66_043c117f88f3","value":"\"Tabungan yang disarankan = Rp \"+hitungTabungan"},{"@type":"Assign","name":"hitungPengeluaran","id":"id_f5353817_4fbe_4120_80bb_fa9df7fc21dc","value":"ceil(penghasilan - 0.45)"},{"newline":true,"@type":"Output","id":"id_9826f2b1_13d0_4edf_bf48_02ece317a57a","value":"\"Pengeluaran rutin (makanan, transportasi, hiburan) = Rp \"+hitungPengeluaran"}],"id":"id_e45c176b_26da_4884_b1c5_c5f0a4158f28"},"condition":"penghasilan < 50000000","@type":"If","id":"id_918668ee_c6b5_440a_be17_a2c6d537407b"},{"@type":"Return","id":"id_2b45d42c_f091_46c3_9d00_2a53ac74a1de","maybeValue":null}],"parameters":[]},"id":"id_6ed9ae88_1cca_4653_a2af_1f511d03d453","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.2","revision":982}