{"functions":[],"name":"ATm Withdrawal","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_dba9fcbf_19cf_47cf_991b_b23004da40f3"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"balance","lengthValue2":"5","id":"id_389fa376_9d4f_47d0_b16e_cba30c8a8e74","initValue":"0"},{"@type":"Input","name":"balance","id":"id_de2f3a77_28ad_4e96_9020_751372bfa747","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"withdrawl","lengthValue2":"5","id":"id_7bcaa5af_ee20_469a_8d5a_b596b6d5b5bf","initValue":"0"},{"@type":"Input","name":"withdrawl","id":"id_77e8f108_291c_4b67_ad51_5a88d1743aa3","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dc14f681_43a1_4af0_a44b_b79ab8d6b972","value":"\"Invalid withdrawal amount\""}],"id":"id_a1a8aab1_2d48_4350_a928_610c83fa5fd8"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_282889d7_9476_4fe1_bce2_57944f7dd96d","value":"\"Insufficient balance\""}],"id":"id_cebd222a_5dc6_4d45_b786_ae8cd94aa447"},"trueBlock":{"statements":[{"@type":"Assign","name":"balance","id":"id_d9cd9776_01df_4224_9370_e11c45a6ef82","value":"balance - withdrawl"},{"newline":true,"@type":"Output","id":"id_a2abe5be_b6e1_4555_858c_c01b3db636b8","value":"\"Withdrawl successful\""},{"newline":true,"@type":"Output","id":"id_2c8cd73f_e45e_4b53_a43b_d5ea349ca660","value":"\"Remaining balance = \" + balance"}],"id":"id_5a8c90cf_ea80_4a35_9378_b1f5bf5b4efd"},"condition":"withdrawl <= balance","@type":"If","id":"id_4e151ff6_7882_4dbc_bb7f_53b1dec41123"}],"id":"id_cea70ed5_aaae_4a19_8a63_d638ba376124"},"condition":"withdrawl > 0","@type":"If","id":"id_f7bda131_ecb6_4fd8_ba62_9921afafc11b"},{"@type":"Return","id":"id_f2063368_26de_483c_bf50_34293935ec93","maybeValue":null}],"parameters":[]},"id":"id_074f09fe_33f8_43bc_b63a_6dfdf327c511","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":332}