0

The output is the same as the test cases but it appears wrong. In chapter 2 of Java > Code Project > Loan Calculator

https://code.sololearn.com/cBjpQqnLM2z4/?ref=app

6th May 2021, 10:24 PM
Ricardo Libron
Ricardo Libron - avatar
4 Answers
+ 3
The code only wants the result after 3 months, so move System.out.println(amount) out of the loop.
6th May 2021, 10:49 PM
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ - avatar
+ 1
CarrieForle thanks. I've been reading some posts but they actually asking the answer. It works now. šŸ˜
6th May 2021, 10:54 PM
Ricardo Libron
Ricardo Libron - avatar
0
It would be nice to see the assignment šŸ™
6th May 2021, 10:41 PM
Solo
Solo - avatar
0
Its in the code project on Java course. On chapter 2. i dont know how to send it here.
6th May 2021, 10:46 PM
Ricardo Libron
Ricardo Libron - avatar