by @nabila Nasir Fork
{"functions":[],"name":"Stukas1 biayapark","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7625bca2_c7fd_4a1b_ba65_9d08358c7355"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"JumlahKendaraan","lengthValue2":"5","id":"id_2cb6012c_7225_453e_8c07_399e0c4e201e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Kendaraan","lengthValue2":"5","id":"id_1acfa200_554f_44ae_9683_fb99864089c0","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"LamaParkir","lengthValue2":"5","id":"id_9dfe02c6_4a38_4a7b_b9a1_e546b3c9b237","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"BiayaParkir","lengthValue2":"5","id":"id_82febe24_d6f6_427e_974a_3fe79129c48c","initValue":null},{"newline":true,"@type":"Output","id":"id_56c89853_b77f_4305_9ad6_d3366854fe2f","value":"\"Masukkan Jumlah Kendaraan\""},{"@type":"Input","name":"JumlahKendaraan","id":"id_8134041a_a3f9_471a_9b8c_39262b70ea86","prompt":null},{"@type":"Assign","name":"Kendaraan","id":"id_b296dc65_7b0e_4612_b5c3_308fb3da6b53","value":"0"},{"varName":"Kendaraan","incr":"1","@type":"ForLoop","start":"1","end":"JumlahKendaraan","id":"id_30a7dba7_a6c4_4e73_951a_c49d96099cfd","body":{"statements":[{"@type":"Input","name":"LamaParkir","id":"id_7e5a61df_0790_4528_8809_5f5c8d058afc","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"BiayaParkir","id":"id_85b5d067_9dad_4e32_a03d_5b2a306b4fee","value":"17000"}],"id":"id_90d82530_7329_4a35_a34f_ddab0b21eacb"},"trueBlock":{"statements":[{"@type":"Assign","name":"BiayaParkir","id":"id_2d3fbf16_196e_45f1_8cca_6f628fe9024b","value":"5000 + (LamaParkir-1)*3000"}],"id":"id_c3021b19_3b78_4bdd_8b3d_10ffe838c985"},"condition":"LamaParkir <= 5","@type":"If","id":"id_ab72b312_042e_4282_a225_b32a25b02104"}],"id":"id_a5b0d9cd_fafa_46c7_ab35_aab5095358a1"},"trueBlock":{"statements":[{"@type":"Assign","name":"BiayaParkir","id":"id_9d17c711_f8ae_4ad5_86c0_eae148177a93","value":"5000"}],"id":"id_a6af2c43_42a3_4f74_a34f_1e098cfb3582"},"condition":"LamaParkir <= 1","@type":"If","id":"id_1313feb6_8bf2_4f04_8e39_3db82563dd42"},{"newline":true,"@type":"Output","id":"id_ee1ceaba_5990_4140_a073_fabeb2aad646","value":"\"Kendaraan :\"+Kendaraan"},{"newline":false,"@type":"Output","id":"id_c8738682_c905_41b8_9591_b153fc174737","value":"\"Lama Parkir:\"+LamaParkir"},{"newline":true,"@type":"Output","id":"id_9ff8767a_5041_4137_a8c1_bd305c5e559a","value":"\" | Biaya Parkir:\"+BiayaParkir"}],"id":"id_48535517_6ed4_41be_8e52_de27a21a5b61"}},{"@type":"Return","id":"id_f2b226b1_1157_430b_8597_9dc71a4e5d6e","maybeValue":null}],"parameters":[]},"id":"id_1b2761fc_b2d9_434b_80d1_21dced0a0d60","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":597}