Question: hello, I am making a function that deposits money to accounts, the function works perfectly fine, it just has a small problem. when adding the

 hello, I am making a function that deposits money to accounts,the function works perfectly fine, it just has a small problem. whenadding the amount of money the user entered to the actual balance

hello, I am making a function that deposits money to accounts, the function works perfectly fine, it just has a small problem.

when adding the amount of money the user entered to the actual balance in the account, the function updates only the first balance(adam's balance)

for example, when I am depositing money into another account it does not update the actual balance in the account.

I want to know where is my problem exactly and how to solve it

thanks

customers.txt123456202111264,adam,a,1212.0202111265,mohammed,a,300.0202111266,khalid,a,250.0202111267,ahmed,a,3200.0202111268,dana,a,780.0202111269,sara,a,4000.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!