{"functions":[],"name":"LATIF2_ROY_171026","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_bee86967_9c40_4991_a58a_61d72026f634"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total","lengthValue2":"5","id":"id_eb8cc2ec_239c_4193_b6ee_b03c57a69733","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"diskon","lengthValue2":"5","id":"id_f9038c48_8b5a_489c_9e1a_4f188ee765af","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"potongan","lengthValue2":"5","id":"id_644b28e1_0bce_4870_95ad_62101c0487b3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalbayar","lengthValue2":"5","id":"id_e139e23a_2aee_46b7_ae28_36e02841e705","initValue":null},{"newline":true,"@type":"Output","id":"id_a67cf903_8d71_4a80_89b9_40f9664271de","value":"\"Masukkan total belanja\""},{"@type":"Input","name":"total","id":"id_1e67408a_2414_4018_8703_5d0d6e121178","prompt":null},{"newline":true,"@type":"Output","id":"id_cf14135a_90a5_411d_b0e8_44464d62fd5b","value":"total"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"diskon","id":"id_e0ea1cc5_02a5_4966_be66_b7e7bfe7d60f","value":"0"}],"id":"id_75dc3201_c470_4d0a_a938_9e22bbdb50c8"},"trueBlock":{"statements":[{"@type":"Assign","name":"diskon","id":"id_34a98aac_7c93_4126_b4a4_e32fa11e017f","value":"0.10"}],"id":"id_7942f5d2_959c_4b38_be0f_55a4b9327c00"},"condition":"total>=200000","@type":"If","id":"id_9e61a4d6_c044_4a90_b2de_a51d09559885"}],"id":"id_23938d23_2fdc_428a_b534_6914d9488388"},"trueBlock":{"statements":[{"@type":"Assign","name":"diskon","id":"id_f84a3d91_81e8_4cde_80b0_6ee499286355","value":"0.20"}],"id":"id_f17bfa98_fd2b_498b_885f_a446d54917a7"},"condition":"total>=500000","@type":"If","id":"id_baa79e27_30c9_4234_8bd3_79cdbe00385b"},{"@type":"Assign","name":"potongan","id":"id_d672a2fa_bc42_429c_9726_2ab85e8d00e5","value":"total*diskon"},{"@type":"Assign","name":"totalbayar","id":"id_13f5c2cf_4a1e_479e_9f9e_ca585df1ef41","value":"total-potongan"},{"newline":true,"@type":"Output","id":"id_d3ea00fb_63bb_4f0f_8688_a2b79ea25471","value":"\"total belanja awal: Rp\""},{"newline":false,"@type":"Output","id":"id_ff2d1fc2_dd9a_4733_b34f_da3179620fca","value":"total"},{"newline":true,"@type":"Output","id":"id_66c964e0_36b0_4f6d_85ac_0734ec91d517","value":"\"diskon yang didapat\""},{"newline":false,"@type":"Output","id":"id_68ff1818_6d51_4c76_ae53_508e2998fe1c","value":"diskon*100"},{"newline":false,"@type":"Output","id":"id_2653f0e5_2948_44b2_b2d5_eb8cb78693e4","value":"\"%\""},{"newline":true,"@type":"Output","id":"id_2263ff3d_a2e8_41fd_a6d9_9126d67a0b3b","value":"\"jumlah potongan: Rp\""},{"newline":false,"@type":"Output","id":"id_6ca6afd9_06ce_4de0_a19a_7b160be13deb","value":"potongan"},{"newline":true,"@type":"Output","id":"id_06f16b3b_7910_4969_9cae_d6c7b42e011b","value":"\"total yang harus dibayar: Rp\""},{"newline":false,"@type":"Output","id":"id_e39b32e4_0808_4ecb_a27d_c83dd9521ef0","value":"totalbayar"},{"@type":"Return","id":"id_7ca75d2b_38df_4e07_9c7a_ab68d9b59c30","maybeValue":null}],"parameters":[]},"id":"id_b13d3871_143b_46ab_9b93_479f4631d604","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":551}