by @Jv Bongcales Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_fd108d1d_db86_4b06_b631_a0b640b3f846"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"balance","lengthValue2":"5","id":"id_1ec9ab4b_f690_4aeb_9c69_17c4708d4525","initValue":null},{"@type":"Input","name":"balance","id":"id_8e3ae614_d6e4_480b_95b8_0187fe216c90","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"withdrawal","lengthValue2":"5","id":"id_6ea3a6ce_dbe7_4b81_8c31_88219303f257","initValue":null},{"@type":"Input","name":"withdrawal","id":"id_76d12c41_1619_4adc_9aff_92ef678668de","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7c350a00_340b_4085_be35_99e5331ab18c","value":"\"Invalid withdrawal ammount\""}],"id":"id_7a6ca032_6d9e_4d23_a451_2e8f4ecfe3ff"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6784a17f_391a_4848_b33c_40dbdd99e511","value":"\"Insufficient Balance\""}],"id":"id_1e1b4f71_34d7_4cb4_9833_b6971be4230b"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"newBalance","lengthValue2":"5","id":"id_d5bf6e28_f5b9_423e_a6b1_fa1d3121e2d7","initValue":null},{"@type":"Assign","name":"newBalance","id":"id_39863ba9_c140_46e2_bc87_26916f1b4797","value":"balance - withdrawal"},{"newline":true,"@type":"Output","id":"id_0aa86b50_2150_48f1_a197_de897bb1c5fc","value":"\"New Balance \" + newBalance"}],"id":"id_a62d8201_385d_4ea2_b999_5fa48587e91b"},"condition":"withdrawal <= balance","@type":"If","id":"id_70b206a5_720d_4e60_99fe_561bcbe12df0"}],"id":"id_c8baf2d4_7994_4ff9_9790_3d909f89d306"},"condition":"withdrawal > 0","@type":"If","id":"id_92caf53c_df39_4fb0_a0e8_d2474e15e9f4"},{"@type":"Return","id":"id_8113eef3_0e64_473e_a737_61ae0fff26ca","maybeValue":null}],"parameters":[]},"id":"id_e27d1fda_dd29_4448_8e1c_16a5bd67e02b","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":303}