{"functions":[],"name":"ATM Transaction System","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b07e2bd8_9bb7_4446_bbc9_a49f9b2ae058"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"pin","lengthValue2":"5","id":"id_5a6fd65f_f647_4db7_86e3_a241b4c0c508","initValue":"654321"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"choice","lengthValue2":"5","id":"id_6b2142d1_70e7_44e7_99e9_341f3fc6ab3d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"2444","tpe":"Integer","name":"accountNumber","lengthValue2":"5","id":"id_7a473608_eceb_489d_9d68_80925a9dfd36","initValue":"666999"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"amount","lengthValue2":"5","id":"id_9c890b3e_0f55_4d4d_ab50_ff71ea35a3e3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"balance","lengthValue2":"5","id":"id_2132c116_b5e8_4bf4_b50b_9cdc2dbf70d6","initValue":"97000"},{"newline":true,"@type":"Output","id":"id_2b40615a_f8c5_4c6f_bb47_ddbb7f632b46","value":"\"Enter your pin \""},{"@type":"Input","name":"pin","id":"id_ad96c4e2_b565_418f_91b6_425e6a8a3977","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a112d083_3685_46f5_a3b9_7934873d73db","value":"\"Enter a valid pin\""},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"2","id":"id_31f4f6cf_273f_45cb_a5e8_97be6f6edec8","body":{"statements":[{"@type":"Input","name":"pin","id":"id_06f1d8d0_7614_43f3_a529_3627ef305051","prompt":null}],"id":"id_15e15467_c1e5_4ede_b2f9_2609ea2439e8"}},{"newline":true,"@type":"Output","id":"id_9ed56eed_5d91_47b2_9372_413dd86b3bca","value":"\"Your card retain\""},{"newline":true,"@type":"Output","id":"id_102b5ef6_4737_44fc_87d8_47179ed4c496","value":"\"Contact to bank\""}],"id":"id_4dd62ea2_6443_4329_bc6e_f4d6e717794b"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_64381502_b30d_4d24_9718_5209f4694a59","value":"\"Main Menu\""},{"newline":true,"@type":"Output","id":"id_9155969c_d4b0_461a_8ca1_38bcaf1f5276","value":"\"1:Check Your balance\""},{"newline":true,"@type":"Output","id":"id_3125b104_fdb2_45f6_93c4_59f908ea0af5","value":"\"2:Cash Withdrawl\""},{"newline":true,"@type":"Output","id":"id_bc53947d_6d6a_422c_90ed_53dbb2c0428d","value":"\"3:Change pin\""},{"newline":true,"@type":"Output","id":"id_0fa7b968_1be0_4873_bd5b_0144ac54fb4a","value":"\":Funds Transfer\""},{"@type":"Input","name":"choice","id":"id_9c3f4c98_b859_439a_a585_a8096f766fa0","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f4a37258_3a1e_49a1_a4fb_b1f62b6dd2cf","value":"\"Invalid choice\""},{"newline":true,"@type":"Output","id":"id_e37d19eb_4bb4_4414_8b05_d02c877ff8f5","value":"\"Kindly collect your card\""}],"id":"id_0db181d7_7276_48d7_993e_ad9d14e7a98e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1a8bcc18_04bd_453d_8033_0d912f315846","value":"\"Enter account number\""},{"@type":"Input","name":"accountNumber","id":"id_d22ab68e_9c85_404b_9e18_88bb28fb59f0","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_cbffa0ac_c21a_46ef_9c70_095c50f19884","value":"\"Invalid Account\""}],"id":"id_dcbc30fb_79e7_4eb1_9b0e_18ec3cec1a02"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8d5e714c_b4d5_4aba_b542_458c995cea92","value":"\"Enter amount\""},{"@type":"Input","name":"amount","id":"id_63c3ed70_aea1_4b27_bf94_6f8b32897fc2","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e6f600e0_64cc_48d7_bfc9_ffd1466cf0ca","value":"\"Insufficient funds\""}],"id":"id_073df965_fcc9_4478_99b5_590e9ee0d143"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8831fa96_3b1c_4553_8144_94498b8ee240","value":"\"Funds transfered successfully\""},{"newline":false,"@type":"Output","id":"id_f8607cd9_46e5_4ea6_aa06_88199a3184c5","value":"\"Your remaining balance is = \""},{"newline":true,"@type":"Output","id":"id_ca10aac6_be85_48d5_afc0_bac783b2c4e5","value":"balance-amount"}],"id":"id_1fb8451e_12b8_4ba4_a554_021cd44c2031"},"condition":"balance>=amount","@type":"If","id":"id_278207ec_df68_49e3_80c3_554cd9a28648"}],"id":"id_031da1fe_0442_4a7f_82db_52857d518f88"},"condition":"accountNumber==666999","@type":"If","id":"id_9b0c0264_82f6_45dd_ad97_5986f7f5af21"}],"id":"id_4b7893cc_5458_460b_a80c_11edbafd66c9"},"condition":"choice==4","@type":"If","id":"id_578790b7_2b0c_4cf1_943d_86a064541c01"}],"id":"id_40ebb739_f31c_409d_98d1_37955ddc69d6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_211a021d_3b56_49bc_8363_c6ed567e893b","value":"\"Enter your old pin\""},{"@type":"Input","name":"pin","id":"id_4dc54775_b2f1_4f45_ab3e_0bd16027b0f6","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_afac497f_0aa1_4e70_b272_f3f96f368e6c","value":"\"Invalid pin\""}],"id":"id_f595e283_ae14_4679_a654_d37e17e23a88"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a0c4a388_dbe4_4146_90f8_9d898426b4da","value":"\"Enter your new pin\""},{"@type":"Input","name":"pin","id":"id_07a94262_017b_4758_adf8_f9d28e1a90ca","prompt":null},{"newline":true,"@type":"Output","id":"id_e2baf8f7_ee7c_4ea9_891a_f0e3225c70db","value":"\"Pin changed successfully\""},{"newline":false,"@type":"Output","id":"id_c43f144e_7834_4e9f_aa37_604eee72c854","value":"\"Your new pin is= \""},{"newline":true,"@type":"Output","id":"id_5e2fe9c3_8ae1_427a_8f6b_1d3ed3f6357e","value":"pin"}],"id":"id_4f054b50_c132_460e_a5b0_41614be44c37"},"condition":"pin==654321","@type":"If","id":"id_81edd451_b6bf_4468_a743_6f69fc1623b9"}],"id":"id_336e2a8f_dfcd_4b60_8220_07dffb5b67a3"},"condition":"choice==3","@type":"If","id":"id_d60bcea0_d47e_4ead_87a8_4c4f72bcf2bf"}],"id":"id_58226c0c_0f24_4a5e_9b26_3f54d3dbeca8"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3021886b_1601_420f_a721_2d08f35c1eb2","value":"\"Enter amount you want to withdraw\""},{"@type":"Input","name":"amount","id":"id_1566d9cc_89bf_4d29_8dac_ac8a9e1d6a82","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ae2669a4_b18a_43d3_83e6_04bc16cd04ff","value":"\"Insufficient Funds\""}],"id":"id_f326ce56_1fe3_49b9_8e7a_f9012c61e6ba"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_942f5715_c0c1_43b6_8d16_a29796331f02","value":"\"Collect your cash\""},{"newline":false,"@type":"Output","id":"id_1133e9a8_ff0c_4b49_9a0b_5cc7a3837f94","value":"\"Your remaining balance is = \""},{"newline":true,"@type":"Output","id":"id_b4daf9b3_e35d_4242_b541_2eb4437fcbcb","value":"balance-amount"}],"id":"id_e24f4aa8_2198_445e_9e5a_e62a23005692"},"condition":"balance>=amount","@type":"If","id":"id_d3dc6176_de15_479c_9ac1_a58add7d12ce"}],"id":"id_4442bed7_2007_4683_885d_2d675b834443"},"condition":"choice==2","@type":"If","id":"id_cd90672a_1cae_4639_8e16_cbec3fc831cb"}],"id":"id_43d9c8e3_a840_4c3b_99b9_003c0ad8c9f4"},"trueBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_a4fab856_1fb6_40f4_aac6_a0a579a1010f","value":"\"Your balance is = \""},{"newline":true,"@type":"Output","id":"id_b708c76e_97a7_40d5_b348_a4b6c2c30401","value":"balance"}],"id":"id_8a4a2158_ce02_44d2_b091_be7eec74c6cf"},"condition":"choice==1","@type":"If","id":"id_4ae74325_9c8d_4a72_8884_c16bead6edbc"}],"id":"id_94443ad9_0c58_480d_985c_c416765fb11b"},"condition":"pin==654321","@type":"If","id":"id_60122cea_e4d9_43e0_9efa_f740f451d7a5"},{"@type":"Return","id":"id_38479124_e976_4040_ad66_adcd7d44b912","maybeValue":null}],"parameters":[]},"id":"id_2ded58fe_3e95_45af_87fa_130deaffeefd","config":{"showDebugVars":false,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":3288}