by @RABIYA REHMAN Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9cc114b4_5440_4428_b821_2f3959058c31"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"balance","lengthValue2":"5","id":"id_91cda82f_1bef_4071_8f46_0828950b1f80","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"withdrawalAmount","lengthValue2":"5","id":"id_f3f79bd0_1bea_41a2_aa53_c5d7f2ad41d5","initValue":null},{"@type":"Input","name":"balance","id":"id_82a70f94_2f1f_4951_9949_89a20c50932b","prompt":"Please enter balance:"},{"@type":"Input","name":"withdrawalAmount","id":"id_304e60d8_5c59_467d_ae94_61cc4f8f5513","prompt":"Please enter withdrawalAmount:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_37e7358c_8db6_4b04_8c5d_446384245682","value":"\"accountEmpty\""}],"id":"id_a990115f_6728_4ddf_b4f8_7948f11d26bb"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_565d2349_8212_457b_9d4b_63fa50b82a72","value":"\"insufficientBalance\""}],"id":"id_40d5c013_4961_4673_8017_14595d6db641"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c1227c57_44ff_4c40_ae1e_f0b6ed247af6","value":"\"transactionSuccessful\""}],"id":"id_715c75b1_9357_41c0_9aac_6a6ff03556d4"},"condition":"withdrawalAmount<=balance","@type":"If","id":"id_30cf8ef7_f1f2_413b_9bf7_c25ed5b3c3de"}],"id":"id_f1ddf711_e4c1_47b7_88b0_91101a9a66ba"},"condition":"balance>0","@type":"If","id":"id_b9c05e25_57fd_41d4_91d0_5b4b86b78c0a"},{"@type":"Return","id":"id_9b0218d3_1477_4ffd_b302_373c694dda8b","maybeValue":null}],"parameters":[]},"id":"id_1310ed56_8615_4ac3_a358_2dfc22bdd380","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":247}