I have created a bank system in PHP and it consists of three functions:
Deposit(), Withdraw() and Transfer().
Both the Deposit() and Withdraw() functions are fully functional -> there are NO problems with them.
However, when a user tries to Transfer() money to another user account, issues occur.
Please look below for more specific details:
Expected result: JOHN DOE transfers $money from his bank account to JANE DOE (`bank` - $bank) => JANE DOE receives $money in her bank account (`bank` + $bank).
Actual result: JOHN DOE transfers $money to JANE DOE (`bank` = `bank`) => JANE DOE receives $money*3 in her bank account (`bank` + $bank).
14 freelancers are bidding on average £22 for this job
you have issues in your withdraw() and/or deposit() function. a system is failed fully if both wont work. Relevant Skills and Experience php Proposed Milestones £18 GBP - great. read the statement.