by @CRUZ RASHEED B. Fork
{"functions":[],"name":"Flowchart 5","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_db9097d2_9e9e_4dc5_a866_144e4e0a704a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"accountBalance","lengthValue2":"5","id":"id_e5f8ad1c_a10e_455b_8708_4139f5c58102","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"withdrawalAmount","lengthValue2":"5","id":"id_1e8aa601_9148_4732_ab18_68f36d2aedee","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"remainingBalance","lengthValue2":"5","id":"id_62e53c44_4d0a_41f7_b8c1_8e4050a1987a","initValue":"0"},{"@type":"Input","name":"accountBalance","id":"id_813d39e5_da35_467f_8fee_87fcd3e6852e","prompt":null},{"@type":"Input","name":"withdrawalAmount","id":"id_64eed52b_f35d_4e89_b920_8bba488cb9ce","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c4744e85_dbdf_47e8_bdc2_f489ead7eb9f","value":"\"Invalid Withdrawal Amount\""}],"id":"id_49c067c4_4a8f_4c12_ac50_dc40b595b9fd"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_045dd882_6e9a_4bf0_9378_2bc4197d2f2c","value":"\"Insufficient Funds\""}],"id":"id_2612e8e1_896b_4363_87ba_33dde0b7ded5"},"trueBlock":{"statements":[{"@type":"Assign","name":"remainingBalance","id":"id_1dd8e113_1826_4f99_9fba_ca1c6bfede7d","value":"accountBalance - withdrawalAmount"},{"newline":true,"@type":"Output","id":"id_fd300a8c_33b6_4dfc_82d2_3983772b9795","value":"\"Withdrawal Successful\""},{"newline":true,"@type":"Output","id":"id_4e7ed0d3_0eab_4d92_9a9e_432905447355","value":"remainingBalance"}],"id":"id_0a17bbef_fe9c_4d4f_bf81_c50f13368256"},"condition":"withdrawalAmount <= accountBalance","@type":"If","id":"id_ea7281bc_7c8a_49a7_8c10_6babea408c9c"}],"id":"id_9149181c_3c04_497c_aa1d_d7821b76ea44"},"condition":"withdrawalAmount > 0","@type":"If","id":"id_d4a99764_9460_4a40_b073_58f918196748"},{"@type":"Return","id":"id_fb40f116_fadb_4d3f_9124_c924018de372","maybeValue":null}],"parameters":[]},"id":"id_a737de9d_5d85_479c_acb5_ad8cdb855c1e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"python","showGenCode":true},"version":"0.3","revision":371}