by @muazim Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5aa0f2fa_1faf_4766_846f_be8c34d0a1df"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"accountbalance","lengthValue2":"5","id":"id_b948eb55_3890_4e6f_ae9c_8771efbbb007","initValue":null},{"@type":"Input","name":"accountbalance","id":"id_e6541b44_5363_4e38_a927_0eecc17c1ef7","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"withdrawalamount","lengthValue2":"5","id":"id_c68f102f_c681_4812_a18b_70388b11dc70","initValue":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1c97d5a3_2a30_442c_9097_49617259f973","value":"\"invalid amount\""}],"id":"id_04017d5d_01f7_4ada_b806_a2fb79c189bb"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"accountbalance-withdrawalamount","lengthValue2":"5","id":"id_b34699da_f36a_4f60_a02b_3c122f6a1ed1","initValue":null},{"@type":"Assign","name":"newbalance","id":"id_ed77af4a_0409_4ffd_9738_2c7c19cc88f2","value":"accountbalance-withdrawalamount"},{"newline":true,"@type":"Output","id":"id_93a26bc5_daea_4590_b285_771fc7e9ba10","value":"\"withdrawal successfull\" && \"remaining balance\""}],"id":"id_6229b37a_21d1_49b2_8642_1e1ddf9768d7"},"condition":"withdrawalamount%10==0","@type":"If","id":"id_ce795449_60cd_4e6e_810a_f95f834000a7"}],"id":"id_d16826c5_a1c1_45b3_9915_9d839ba49ce9"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f40bd529_5b84_4015_b9cc_10cf9f008d9a","value":"\"insufficient funds\""}],"id":"id_ec451b1c_d671_4194_a489_faba311b36a1"},"condition":"withdrawalamount>amountbalance && withdrawalamount<=accountbalance","@type":"If","id":"id_2bb2b9ec_03e7_4db8_8497_9d7639137c2c"},{"@type":"Return","id":"id_be0d4218_70b0_4965_bad2_432e7e3e9009","maybeValue":null}],"parameters":[]},"id":"id_30e1da74_201a_4561_937a_f6634f35ba34","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":627}