0

Guys i need tips for the loan calculator challenge i tried everything but i still can't do it pls help

You take a loan from a friend and need to calculate how much you will owe him after 3 months. You are going to pay him back 10% of the remaining loan amount each month. Create a program that takes the loan amount as input, calculates and outputs the remaining amount after 3 months. Sample Input: 20000 Sample Output: 10628 Here is the monthly payment schedule: Month 1 Payment: 10% of 20000 = 2000 Remaining amount: 18000 Month 2 Payment: 10% of 18000 = 1800 Remaining amount: 16200 Month 3: Payment: 10% of 16200 = 1620 Remaining amount: 14580

31st Aug 2022, 10:30 PM
Leo Games R.B.F
Leo Games R.B.F - avatar
2 Respostas
+ 3
Hi! Or please, show us your try. How to use the Sololearn searchbar https://code.sololearn.com/W995A7y40Dow/?ref=app
1st Sep 2022, 7:00 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
Did you try searching the Q&A via the search bar for answers and solutions before asking?
1st Sep 2022, 2:16 AM
Chris Coder
Chris Coder - avatar