by @GEPUIT GABRIELLE Fork
{"functions":[],"name":"FLOWCHART5(ATM)","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_61bb8644_b3b1_494d_9fcd_225a6aef7986"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"accbal","lengthValue2":"5","id":"id_5260a3c1_666d_4a7b_9784_825fc39182a9","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"wamount","lengthValue2":"5","id":"id_a52af824_2762_4c27_af1e_a7e4eb960cb7","initValue":"0"},{"@type":"Input","name":"accbal","id":"id_dc4ab314_2bfc_48bd_8b66_648488575719","prompt":"Enter Account Balance:"},{"@type":"Input","name":"wamount","id":"id_eb7b9500_e466_47cd_b179_9cfd06f959f4","prompt":"Enter Withdraw Amount:"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3adb3ee7_4d6d_42e7_80d4_04d6a61d63e3","value":"\"Invalid withdrawal amount\""}],"id":"id_92068072_2cea_4d3a_933e_a20b23090c11"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e8440087_e9ae_489a_83b1_efc11260444e","value":"\"Insufficient Balance\""}],"id":"id_59bb9307_cd2c_4712_bf63_e3c7fb913c39"},"trueBlock":{"statements":[{"@type":"Assign","name":"accbal","id":"id_e2fb7749_0924_45bd_92b6_9814aeb2169e","value":"accbal - wamount"},{"newline":true,"@type":"Output","id":"id_ec0883a1_5b38_437b_b912_bd30d4418ca0","value":"\"Withdrawal Successful.\""},{"newline":true,"@type":"Output","id":"id_799bceb1_80f0_4a24_9375_5d39c995c50d","value":"\"New Balance:\" + accbal"}],"id":"id_06a37a69_ef79_419a_990a_ab76f5d92d80"},"condition":"wamount <= accbal","@type":"If","id":"id_4b9df8e4_08ff_485f_906d_81ee9ba446fd"}],"id":"id_2c7da199_204b_49b2_9fe6_e5bb818bcc12"},"condition":"wamount > 0","@type":"If","id":"id_7955dee3_90b3_4cc0_91ab_a1d10f8e9929"},{"@type":"Return","id":"id_3f6d54be_9638_493a_8cb4_bc085d8fbf94","maybeValue":null}],"parameters":[]},"id":"id_57945457_fd96_458d_8bad_794641fe359c","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":3469}