ATM withdrawal
Easy๐ท๏ธ Computational thinking๐ Computational Thinking & Pseudocode
๐งฉ The problem
TAKE the BALANCE and the AMOUNT to withdraw. If there is enough money, DISPLAY “Take your cash” and then the new balance. Otherwise DISPLAY “Not enough money”.
Examples
Input: 500, 200 โ Take your cash โ 300Input: 100, 200 โ Not enough money
โ๏ธ Write your pseudocode
Press Run to watch it step by step, and Run tests to check it against every test case.