Page 1 of 1

Can you debug the following code using the given test code? With this output: SavingAccount 1 is: $400.00 SavingAccount

Posted: Sun May 15, 2022 1:05 pm
by answerhappygod
Can you debug the following code using the given test code?
With this output:
SavingAccount 1 is: $400.00
SavingAccount 2 is: $1000.00
SavingAccount 1 after the interest is: $401.67
SavingAccount 2 after the interest is: $1004.17
SavingAccount 1 after the new interest is: $402.50
SavingAccount 2 after the new interest is: $1006.26