{"functions":[],"name":"ATM Withdrawal Simulation","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6f749109_ccfb_4fe7_a631_4d802295b214"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"balance","lengthValue2":"5","id":"id_d0d2b25a_ed99_468c_b371_c0bc96c8b618","initValue":"0"},{"@type":"Input","name":"balance","id":"id_83f80fdb_37c3_43bf_9a24_df420019d8fe","prompt":"Savings :"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"withdrawal","lengthValue2":"5","id":"id_0d18477a_46b2_4480_b722_259cc6151006","initValue":"0"},{"@type":"Input","name":"withdrawal","id":"id_aa8e0a50_b325_435b_a535_d9633f456610","prompt":"Withdraw desired amount :"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_df0d8f61_40da_43fa_b8bd_9fc37993d720","value":"\"Insufficient funds\""}],"id":"id_dedb68e7_e7bd_44d9_8530_20c9c0c4b7c4"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"newbalance","lengthValue2":"5","id":"id_353785fd_14d6_4091_b64b_3a4356fb2aef","initValue":"balance - withdrawal"},{"newline":true,"@type":"Output","id":"id_91af4ff6_3d1d_4f73_8751_ac149c11269f","value":"\"Withdraw Amount:\""},{"newline":true,"@type":"Output","id":"id_fafac9b2_ade8_4375_999a_7db0a1927479","value":"withdrawal"},{"newline":true,"@type":"Output","id":"id_47312483_7686_40ad_9501_6428b3893e9d","value":"\"New Balance\""},{"newline":true,"@type":"Output","id":"id_8621b010_7125_444c_8138_9648dc896aac","value":"newbalance"}],"id":"id_8896a22e_59b9_48ba_b60e_96cad55f7f49"},"condition":"withdrawal <= balance","@type":"If","id":"id_fb46c1b3_8e79_464a_b901_2847760fddf5"},{"@type":"Return","id":"id_b56096b9_d2af_4b82_90e2_e4af280d4436","maybeValue":null}],"parameters":[]},"id":"id_f9f812dc_f5b7_4da1_9783_149bf7b68f6c","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":493}