The output is the same as the test cases but it appears wrong. In chapter 2 of Java > Code Project > Loan Calculator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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