{"functions":[],"name":"Modul6(kasus1)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0f2c1858_a92b_4de5_b557_4cdc9ca94b66"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"jumlahproduk","lengthValue2":"5","id":"id_cecdb822_b0d8_411b_8f05_b360f54ec409","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"namaproduk","lengthValue2":"5","id":"id_f8fc366d_3e9d_4058_b1da_cb743a8e5bbd","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"harga","lengthValue2":"5","id":"id_62c7ed77_e294_451b_978f_2918c9803af1","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"jumlahterjual","lengthValue2":"5","id":"id_b8247984_0ea8_4b52_88f9_c23b602781f5","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"totalpendapatan","lengthValue2":"5","id":"id_7b91450e_6ab0_4d2b_920d_bcdd1f53ec77","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"totalbarang","lengthValue2":"5","id":"id_fc471fc3_bc9c_497a_aec9_be3e400ec55f","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"subtotal","lengthValue2":"5","id":"id_280b76c0_0f27_4d20_8fe7_bad1ec731341","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"rataRata","lengthValue2":"5","id":"id_a49b840e_2a2a_4ad1_8f4a_7d69b0a41298","initValue":null},{"@type":"Input","name":"jumlahproduk","id":"id_5d20339e_806f_402e_b059_43614f343386","prompt":" masukkan jumlah produk"},{"@type":"Assign","name":"totalpendapatan","id":"id_8194ba5a_f4da_4ecb_859b_819a3318f97f","value":"0"},{"@type":"Assign","name":"totalbarang","id":"id_c60b6cec_abbb_4097_9dd6_a0e083d3fce0","value":"0"},{"varName":"i","incr":"1","@type":"ForLoop","start":"1","end":"jumlahproduk","id":"id_0a373841_0546_4596_bf2c_a6b90d8c8a80","body":{"statements":[{"@type":"Input","name":"namaproduk","id":"id_75f31194_ce27_4f4e_8976_5c92ec4652c1","prompt":"masukkan nama produk"},{"@type":"Input","name":"harga","id":"id_ffdbfdc3_c5ff_483e_9ddf_d2fafeebdabf","prompt":"masukkan harga"},{"@type":"Input","name":"jumlahterjual","id":"id_802cadf8_aa23_409f_a7a7_7256d23ca438","prompt":"jumlah terjual"},{"@type":"Assign","name":"subtotal","id":"id_a4003658_d7e7_4fa6_b20d_f7085501d4fe","value":"harga+jumlahterjual"},{"@type":"Assign","name":"totalpendapatan","id":"id_ceef3eff_f7d5_4d10_ba62_3ec03097f38e","value":"totalpendapatan+subtotal"},{"@type":"Assign","name":"totalbarang","id":"id_7ff1551f_3760_41af_8f1b_f0c30547f732","value":"totalbarang+jumlahterjual"},{"newline":true,"@type":"Output","id":"id_5388351e_d477_4efe_b488_78578ac52854","value":"\"nama produk = \"+namaproduk"},{"newline":true,"@type":"Output","id":"id_2d167dae_675a_4f07_a0a6_4f9d0fce9bf4","value":"\"subtotal = \"+subtotal"}],"id":"id_9a188b5b_e95c_4531_9657_27b0b3d497e1"}},{"@type":"Assign","name":"rataRata","id":"id_0b9cd9d6_4d5b_4193_8cec_e2fdaf482d10","value":"totalpendapatan/jumlahproduk"},{"newline":true,"@type":"Output","id":"id_40966941_c46a_480d_a892_bc48a343d9b2","value":"\"total pendapatan = \"+totalpendapatan"},{"newline":true,"@type":"Output","id":"id_c8e92d6d_1b75_4e9e_9c39_0e4d85256349","value":"\"total barang = \"+totalbarang"},{"newline":true,"@type":"Output","id":"id_3683176f_e043_43dd_9248_48f62d419a0a","value":"\"Rata Rata = \"+rataRata"},{"@type":"Return","id":"id_dff724ce_9591_4ca1_a862_ddf523f15b18","maybeValue":null}],"parameters":[]},"id":"id_ab0cdcb3_419b_4bbf_987a_94d7cba75021","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":1072}