{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6df0a842_e0eb_439a_985e_290f4a257f91"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"atm","lengthValue2":"5","id":"id_ac9f0941_404a_4fac_97f2_4fa40d1bf752","initValue":"4444"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"option","lengthValue2":"5","id":"id_eea40c84_fdb4_4b9a_be0a_be094eef1fb4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"deposit","lengthValue2":"5","id":"id_b8f8cb0a_a458_487a_b04c_4b07a965946a","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"currentBl","lengthValue2":"5","id":"id_aef33cd2_3a91_4e91_b91f_557063090aa0","initValue":"10000"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"amountTransfer","lengthValue2":"5","id":"id_b8bae9ac_4b92_43b6_a088_352779159bef","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"receiverAccNo","lengthValue2":"5","id":"id_49a3f23e_49fa_4c93_a51e_3b5f410147ea","initValue":"2323"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"withdraw","lengthValue2":"5","id":"id_1a3ff470_44d4_4643_9c76_dda4e814e788","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"transfer","lengthValue2":"5","id":"id_b526d3bc_3f6c_4e8d_86f0_89896facc95d","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"validamount","lengthValue2":"5","id":"id_e29545a9_108f_4353_9d43_431d868106da","initValue":"1000"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"enterAccNo","lengthValue2":"5","id":"id_cd96fb50_ed08_41b8_928f_0ef9a0e3454e","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x","lengthValue2":"5","id":"id_f12ba964_9679_4ef1_90f4_0a58d91f177d","initValue":"0"},{"@type":"Input","name":"x","id":"id_8a89c2a7_c8e2_464c_98f2_ba534dc14de6","prompt":"Please enter x:"},{"falseBlock":{"statements":[],"id":"id_9140682a_569b_416d_9e9e_f0f740e66cb9"},"trueBlock":{"statements":[{"@type":"Input","name":"option","id":"id_763c69f4_31d4_4215_95ca_7eedd252406c","prompt":"Please enter option. a.Deposit b.check Balance c.withdraw d.transfer"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_ae85e469_180d_44fb_94c8_20b76621458a"},"trueBlock":{"statements":[{"@type":"Input","name":"transfer","id":"id_f62f7fc8_63e5_45d5_9130_3ef53b7b2bbf","prompt":"Please amount to transfer:"},{"@type":"Input","name":"enter_acc_no","id":"id_739b951c_7eb2_41d6_ae8a_e56eac62b42c","prompt":"Please Reciever account Nomber:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_70e1b9a2_b2e5_434a_aaa0_a87628458bad","value":"\"wrong account no\""}],"id":"id_0d76198f_d400_4705_af0b_804bc4635273"},"trueBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_22c8ae19_b4be_48f9_b11e_1aa53930c3ad"},"trueBlock":{"statements":[],"id":"id_fbdcc9ef_1899_43e6_942e_a4a910f7a247"},"condition":"transfer<=currentBl","@type":"If","id":"id_e0ea95b8_0ffe_4cfe_9ef6_dc53d1d289ee"}],"id":"id_adf2f7bf_090c_4e45_aced_1a2cd2177147"},"condition":"enterAccNo==receiverAccNo","@type":"If","id":"id_2a3f96b4_84f4_4707_9536_5666bd03e976"},{"@type":"Assign","name":"currentBl","id":"id_9544c1d3_e341_4281_818a_62055e89cd2e","value":"currentBl-transfer"},{"newline":true,"@type":"Output","id":"id_20789c8d_fda4_4a0f_a727_4a376d9b536c","value":"\"Amount has been transfered\""}],"id":"id_5a5c3f3c_e179_450e_9448_7a1bd8edb914"},"condition":"option==\"d\"","@type":"If","id":"id_1f55e959_be3e_4dc8_8c52_245077f52130"}],"id":"id_47d9fa61_7a83_43bd_85b5_b81b3cbe4994"},"trueBlock":{"statements":[{"@type":"Input","name":"withdraw","id":"id_dfd6165a_3881_4e9c_a7bd_e48a11374274","prompt":"Please enter withdrawal amount"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a5d4a06d_4989_4757_9e06_73b855c28b2c","value":"\"Invalid with draw amount\""}],"id":"id_8b2958e8_ca2a_4194_92e9_93ea43e15572"},"trueBlock":{"statements":[],"id":"id_dad12f59_e927_4574_a269_11f3e64d2fce"},"condition":"withdraw<=currentBl","@type":"If","id":"id_73bbfd35_49e2_4bc5_b0f2_5c0741e63ccd"},{"@type":"Assign","name":"currentBl","id":"id_5b3774e2_1e12_4f42_9026_826d48e24e4b","value":"currentBl-withdraw"},{"newline":true,"@type":"Output","id":"id_7ea8a06d_bd0b_4cb9_9122_8323eee9e132","value":"currentBl"}],"id":"id_db841380_e75e_4d4b_9b14_270521e785d4"},"condition":"option==\"c\"","@type":"If","id":"id_e7b4df02_a8c4_46e9_93db_86ae89838767"}],"id":"id_2f22345c_4b93_4972_b251_36719fb3c256"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_178cfe75_c783_447c_b0f5_9c983e79b78e","value":"currentBl"}],"id":"id_f3d5ec74_c3df_4222_b4f4_f22284d846aa"},"condition":"option==\"b\"","@type":"If","id":"id_997e3246_e821_4639_8b91_621ac1d22758"}],"id":"id_4af85c9b_96ac_4dfc_93ca_83dd6f20479b"},"trueBlock":{"statements":[{"@type":"Input","name":"deposit","id":"id_6fe9ed85_efef_4556_ab18_32ac99026520","prompt":"Enter deposit amount"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7e8e1c32_b5fe_4ace_a61f_52428e59988b","value":"Exit"}],"id":"id_89352a76_3b86_43ef_a11c_b771acdbf431"},"trueBlock":{"statements":[],"id":"id_63710a33_631d_4625_ab68_558eb1874e5b"},"condition":"deposit>=validamount","@type":"If","id":"id_6acf040c_99eb_4891_a424_8bc6a17c0c7d"},{"@type":"Assign","name":"currentBl","id":"id_cd85924a_9115_430d_a859_9ab245736b9f","value":"currentBl+deposit"},{"newline":true,"@type":"Output","id":"id_d5d8828e_3d95_4022_be90_913449c78f46","value":"currentBl"}],"id":"id_b0780086_875c_456c_b9d4_19ba56f2dd43"},"condition":"option==\"a\"","@type":"If","id":"id_3ab11bc9_a476_423d_bd73_6403f9f1640d"}],"id":"id_dc0f97c2_ad76_494e_a3cb_ce364fd22a0d"},"condition":"atm==x","@type":"If","id":"id_4f2d76a4_1c44_4daa_af67_bf8b8a8d4078"},{"@type":"Return","id":"id_b8901380_ad9e_4a39_9c7b_5a58123083c4","maybeValue":null}],"parameters":[]},"id":"id_5024df05_6508_454f_828b_be630d4d80a8","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":true,"lang":"c++","showGenCode":true},"version":"0.3","revision":1881}