Given the following: user Account: ABCD Password: 1234 userBalance: 20.400; Create a program that performs basic bank op
Posted: Sat Feb 19, 2022 3:23 pm
Given the following: user Account: ABCD Password: 1234 userBalance: 20.400; Create a program that performs basic bank operations: 1. Check Balance 2. Change Password 3. Deposit 4. Withdraw A) Check whether the entered user Account and Password values match the stored values. If the password is incorrect inform the user to start all over again. If the password is correct allow the user to choose any of the four operations. ONLY authorized users may access their account. B) If the user chooses to check his/her balance, then printout the balance. c) If the user chooses to change password. Update the password. D) If the user chooses Deposit operation, ask about the deposit amount then update the userbalance. E) If the user chooses to withdraw, ask about the amount, then update the userBalance. Note: You may use any structure you find suitable for the above scenario.