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
Can you debug the following code using the given test code? With this output: SavingAccount 1 is: $400.00 SavingAccount
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Can you debug the following code using the given test code? With this output: SavingAccount 1 is: $400.00 SavingAccount
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!