by @SAVANA DWI PUTRI 35 RPL Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0ca95749_de83_4974_8f02_b1886e1172e8"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"a","lengthValue2":"5","id":"id_6f83e2bf_266a_40bb_9444_0accf5781898","initValue":null},{"@type":"Input","name":"a","id":"id_7821ac9f_cdb8_4a7d_8690_09a8c406718a","prompt":null},{"newline":true,"@type":"Output","id":"id_b2f875a4_589e_4c3c_8114_5c9b2d339819","value":"\"a:\""},{"newline":true,"@type":"Output","id":"id_745b06ba_563b_41bf_984f_1479eae0f9a5","value":"a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"b","lengthValue2":"5","id":"id_e9a3e9c2_da90_429a_be13_9e5cef11cc58","initValue":null},{"@type":"Input","name":"b","id":"id_0b1855f9_e0d3_4c76_ad2e_8c611d5ed8f6","prompt":null},{"newline":true,"@type":"Output","id":"id_ce4fb92d_9a59_4b69_8ad3_2e9e17cc55d1","value":"\"b:\""},{"newline":true,"@type":"Output","id":"id_91444a1a_f213_4628_b19e_ccef85153e4c","value":"b"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"operator","lengthValue2":"5","id":"id_9045c552_cda0_47c0_852c_7fd0e057d5b7","initValue":null},{"newline":true,"@type":"Output","id":"id_baf31b0a_08f7_4f85_85a8_8458e141408e","value":"\"operator:\""},{"@type":"Input","name":"operator","id":"id_086a62d6_6382_4d60_8d96_8460254145db","prompt":null},{"newline":true,"@type":"Output","id":"id_212b15c9_2f70_40e8_a809_b64ff71a6133","value":"operator"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"hasil","lengthValue2":"5","id":"id_7a0b2e79_98c9_4d30_ad07_ad6cf96eaa06","initValue":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b2bbb304_a1f7_4d6e_a453_8ded5a661f2d","value":"\"operator tidak valid\""}],"id":"id_ad129330_4ba1_4446_a2f8_05486c58a239"},"trueBlock":{"statements":[{"@type":"Assign","name":"hasil","id":"id_085e8d3d_00b9_4f0b_8f5d_abc4cb4a3cf5","value":"a / b"}],"id":"id_29d34c75_e391_4628_ab4b_31c8c70cb0ad"},"condition":"operator == \"/\"","@type":"If","id":"id_4b93ccf3_9113_42a4_924b_f860446ab563"}],"id":"id_95515d06_c55d_43ba_8a0f_0e2085027050"},"trueBlock":{"statements":[{"@type":"Assign","name":"hasil","id":"id_8b1cb017_c267_4108_974f_47517021fde2","value":"a * b"}],"id":"id_6e26c267_5ff1_4ca4_b8f5_24bc0d8c2292"},"condition":"operator == \"*\"","@type":"If","id":"id_ea344a8e_fb56_4370_8128_5bca634890cd"}],"id":"id_205e69c1_5ca2_45d7_b241_60a6bb892789"},"trueBlock":{"statements":[{"@type":"Assign","name":"hasil","id":"id_0687a5d9_87f8_4305_9594_f6bc4b674f78","value":"a - b"}],"id":"id_1509d723_f329_4de2_82bf_5480fba8ac19"},"condition":"operator == \"-\"","@type":"If","id":"id_b11f5a25_31d8_40ed_b8e0_78cb77355bdc"}],"id":"id_146f3e9d_7ba2_4c00_86d1_1c10bf7c6c04"},"trueBlock":{"statements":[{"@type":"Assign","name":"hasil","id":"id_3139c2fd_bf29_439e_bd0a_dace0743b769","value":"a + b"}],"id":"id_3655ee83_3022_4603_aace_8c8f162b7341"},"condition":"operator == \"+\"","@type":"If","id":"id_861e7722_9198_4b1a_9b8d_f496578a708f"},{"newline":true,"@type":"Output","id":"id_261c92db_56d9_49b0_974f_bf1ee107e01e","value":"\"hasil =\" +hasil"},{"@type":"Return","id":"id_b0b50b26_9905_44eb_a0f7_f60781435374","maybeValue":null}],"parameters":[]},"id":"id_65a60920_b792_4d5a_a0a4_03aff3563e78","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":false},"version":"0.3","revision":598}