{"functions":[],"name":"ATM Withdrawal","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7ead117b_4836_44e6_ae04_9694755b0ea4"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"balance","lengthValue2":"5","id":"id_53e64bdf_361b_4866_b16c_0a44ce591a02","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"withdrawal","lengthValue2":"5","id":"id_ba5122ef_b02d_4c72_8193_78aae77daff8","initValue":null},{"@type":"Input","name":"balance","id":"id_1624221b_2ee0_408c_91f5_c2bca2858ed6","prompt":"Please enter balance:"},{"@type":"Input","name":"withdrawal","id":"id_2c99d689_9854_48a8_bbba_05bcaa237164","prompt":"Please enter withdraw:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_402efb5d_a50f_4cff_8612_b9be905bddc1","value":"\"Invalid Amount!\""}],"id":"id_e73c1698_add0_4230_a961_3ccf6b8660f7"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ef6f9520_980b_463e_a42d_f1e110c3192f","value":"\"Insufficient Balance!\""}],"id":"id_f13a271b_c2a8_4ff9_9be9_4ddabfe8a0af"},"trueBlock":{"statements":[{"@type":"Assign","name":"balance","id":"id_f6276f85_4519_470b_8b44_1eed680ed7ea","value":"balance - withdrawal"},{"newline":true,"@type":"Output","id":"id_45c1af74_1265_4360_9651_9037c506e60a","value":"\"New Balance: \" + balance"}],"id":"id_88824d70_4258_40d2_8d51_ed8911a49011"},"condition":"withdrawal <= balance","@type":"If","id":"id_97293e73_7a40_42a6_8ec6_34610b71efe5"}],"id":"id_7bbe1a9c_b893_422d_aa27_8f40ae017faf"},"condition":"withdrawal > 0","@type":"If","id":"id_bca97cb9_60f0_441e_b5e3_321c1dac54d4"},{"@type":"Return","id":"id_ae52a801_ff52_4819_a834_6e1f03db606e","maybeValue":null}],"parameters":[]},"id":"id_adb59158_1020_4cea_9ec5_5cee2512aa2c","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.3","revision":295}