- 2

can u help me with answering this question

Loan Calculator 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 Use a loop to calculate the payment and remaining amounts for each month. Also, use integers for amounts.

29th May 2021, 5:00 PM
EBRAHIM SALEH AHSAN AHMED ALHAKAMI
3 Antworten
+ 2
⬜⬜⬜⬜⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬛⬜⬛⬜⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬛⬛⬛⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬜⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬛⬛⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬛⬛⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬛⬛⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬜⬜⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬛⬛⬜ ⬜⬜⬜⬜⬜⬜⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬛⬜⬛⬛⬜ ⬜⬛⬜⬛⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬜⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬛⬜⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬜⬜⬜⬛⬜ ⬜⬛⬛⬛⬛⬜⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬛⬜⬜⬜⬜⬜ ⬜⬜⬜⬜⬜⬜⬜ ⬜⬛⬛⬛⬛⬛⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬛⬜⬜⬜ ⬜⬜⬜⬜⬜⬜⬜ IS REQUIRED
30th May 2021, 3:03 AM
NEZ
NEZ - avatar
0
Post your code
29th May 2021, 5:10 PM
Atul [Inactive]
0
EBRAHIM SALEH AHSAN AHMED ALHAKAMI That's not a quiz and you are not giving exam. You are going to be a good programmer. So better to ask code just try self.
29th May 2021, 5:29 PM
A͢J
A͢J - avatar