Problem Statement :
Indian Bank is in operation since 1900. All the work and transactions are recorded manually. Bank wants to get advanced and wants to use technology in order to provide users self transactions services.
In Version 1 of their Banking Software, the bank wants to give support to the following functionalities :
- Credentials verification (BankAccountNo, Password)
- Deposit
- Withdrawal
- Transfer
- OTP generation
You are required to create a program where all the above-mentioned functionalities are operational.
Instructions
-
Customers will have only two fields in the first version of the application bankAccountNo, password. All the values can be hardcoded.
-
The system will ask the user to enter the credentials, if credentials match, the code will display 4 options
1)Deposit 2) Withdraw 3) Transfer 4) Logout
-
Upon entering the option, the user should be able to perform the operations and all the operations should be recorded in the transaction file.
-
For Transfer, the system will generate an OTP of 4 digits. Before transferring money, the user should verify the OTP.
-
Amount verification(withdrawal amount<balance) conditions must be addressed.