{"functions":[],"name":"ppt","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3fe3eaa4_cebf_4824_a0ad_e542a0057901"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"wwithdraw","lengthValue2":"5","id":"id_d2ba6590_117e_4ec8_8f49_f2f8f3b096a1","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"money","lengthValue2":"5","id":"id_1678b0a2_b1b1_4c9b_a7d7_2eb92a36bb40","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"i","lengthValue2":"5","id":"id_9bc6f163_d272_4688_9263_2edec1bc7220","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"instruc","lengthValue2":"5","id":"id_da4c35c7_88a4_4f00_8ed5_8cc497b1b6b7","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"pin","lengthValue2":"5","id":"id_ef4f3ae3_2fee_48dc_9e04_6a869ded57f5","initValue":"1234"},{"newline":true,"@type":"Output","id":"id_fce7144c_69f3_47bb_a62b_7d385641fbde","value":"\"Would you like to make a withdrawal?yes/no\""},{"@type":"Input","name":"instruc","id":"id_4dd8079f_683a_46a5_ae6b_af288d9fcab4","prompt":"Please enter x:"},{"condition":"instruc == \"yes\"","@type":"While","id":"id_249e2e93_a015_404f_9ec7_048840cb0304","body":{"statements":[{"@type":"Input","name":"pin","id":"id_55c07e8e_9136_4290_8173_3f31ea5eda2d","prompt":"Please Enter Your PIN: "},{"varName":"i","incr":"1","@type":"ForLoop","start":"1","end":"3","id":"id_80828e3b_c060_405e_83b0_df0aace56328","body":{"statements":[{"falseBlock":{"statements":[{"@type":"Input","name":"pin","id":"id_6031b9f5_2979_4e82_8249_33a8404c3a58","prompt":"Please Try to Enter Your Correct PIN: "}],"id":"id_f6bbff5b_4920_4087_bde1_70fd2234246d"},"trueBlock":{"statements":[{"@type":"Assign","name":"i","id":"id_ccbc42f8_9c2d_4c3d_b104_83b037162dd1","value":"3"}],"id":"id_2ba398aa_51c4_4050_9823_23db3370c6ee"},"condition":"pin == 1234","@type":"If","id":"id_36eb373e_f54d_4d4e_bc49_ea5d341cfc9b"}],"id":"id_34c25ea4_3648_4578_83f2_ba7ba6d9177b"}},{"falseBlock":{"statements":[{"@type":"Input","name":"money","id":"id_7b985a4d_837a_4394_8e23_839e3c099ca9","prompt":"How much cash would you like to withdraw: "},{"newline":true,"@type":"Output","id":"id_3b91ea94_2568_4dfd_91b0_24a71b03b33e","value":"\"Thank you, your withdrawal was successful\""},{"@type":"Input","name":"instruc","id":"id_1220527a_28aa_4393_ab1e_ba22374184a4","prompt":"Would you like to make another withdrawal?yes/no"},{"condition":"false","@type":"DoWhile","id":"id_26fbfab6_c43f_4dda_a7a2_b1d3c9b96a26","body":{"statements":[{"@type":"Input","name":"money","id":"id_0c3071bc_bb6a_414a_ae40_1842ff819ef8","prompt":"How much cash would you like to withdraw: "},{"newline":true,"@type":"Output","id":"id_f94e258e_fe4e_4a8f_91b2_541b2178454b","value":"\"Thank you, your withdrawal was successful\""},{"@type":"Input","name":"instruc","id":"id_95684052_34fb_4bbf_b142_ad048abb6cb8","prompt":"Would you like to make another withdrawal?yes/no"}],"id":"id_72b6a2ab_9d25_4417_8e87_56f235c6362a"}}],"id":"id_e66da77f_6f9f_4b19_9f14_2fd181da1e09"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4c408beb_e3a3_4cc3_adea_7018c1654008","value":"\"Sorry, your card has been blocked\""}],"id":"id_7712fc67_d09e_4ea9_b786_7caeeb21db18"},"condition":"i == 3 && pin != 1234","@type":"If","id":"id_69b037dd_bb45_4a6e_842e_0ec99b22ca47"}],"id":"id_77394b85_cd51_45ee_a87d_fd033ebbfa30"}},{"newline":true,"@type":"Output","id":"id_792ddd93_0689_460e_b968_9d71262298e4","value":"\"Goodbye and Have a Good Day\""},{"@type":"Return","id":"id_0866658a_856c_4a9c_a184_62d8fb1b0996","maybeValue":null}],"parameters":[]},"id":"id_3d654cdf_333d_4422_9c63_fb8d5e8260b2","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":653}