by @Khairil SukaYapping Fork
{"functions":[],"name":"nilai","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c81028bc_9fbc_42c2_9367_40825a4db02f"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nilaitugas","lengthValue2":"5","id":"id_07e881a7_8f21_46fc_b585_11a159c01719","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nilaiuts","lengthValue2":"5","id":"id_983fa622_330f_4de3_9f3a_26992144e8c6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"nilaiuas","lengthValue2":"5","id":"id_4de78d8d_760d_448f_ae5c_f26122af75ad","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"nilaiakhir","lengthValue2":"5","id":"id_6013f9e1_f04e_42fc_a2a5_552abda6e9a7","initValue":null},{"@type":"Input","name":"nilaitugas","id":"id_faf3efbd_b563_45ab_9f0f_5e18557214df","prompt":"Masukkan nilai tugas"},{"@type":"Input","name":"nilaiuts","id":"id_94bf0285_53ad_4ea7_aebc_72d6bd81b031","prompt":"Masukkan nilai uts"},{"@type":"Input","name":"nilaiuas","id":"id_778d163a_acc5_40f7_928e_6b9dc73f2ea4","prompt":"Masukkan nilai uas"},{"@type":"Assign","name":"nilaiakhir","id":"id_4d67e095_4485_44e6_889a_388dfd2c82f0","value":"(0.30*nilaitugas) + (0.30*nilaiuts) + (0.40*nilaiuas)"},{"newline":true,"@type":"Output","id":"id_8ab6672b_be1e_420f_bc24_99b4715815bd","value":"nilaiakhir"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_79ffb4a9_0f9d_4818_8112_aa533045c8de","value":"\"tidaklulus\""}],"id":"id_9e503da7_acd8_4f57_a183_1fb09d20a609"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8a9c20c9_a40f_4085_baa6_88d3acfd8b42","value":"\"lulus\""}],"id":"id_114c9c6d_702b_4b01_abfd_67e757c12f95"},"condition":"nilaiakhir >= 60","@type":"If","id":"id_096d827a_d840_48ec_8746_2b705065db66"},{"@type":"Return","id":"id_5e3989e2_9ab5_4734_a372_c69c8a63d3b8","maybeValue":null}],"parameters":[]},"id":"id_72e2133c_93a3_40a5_98c0_1c50058204fb","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1450}