What is the solution for loan calculator in Java course | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the solution for loan calculator in Java course

I know that we have to use for loop for(i=0;i<months;i++) { Amount = Amount*10/100;} Note : this gives me the amount that I have to pay per month but I have to output the remaining amount after 10% deduction

14th Nov 2022, 9:33 AM
Wasi
Wasi - avatar
1 Answer
0
That gives you 10% loan amount to pay for every month. You need to deduct it from total Amount.
14th Nov 2022, 9:48 AM
Jayakrishna 🇮🇳