0
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%
Can anyone please post code for this
3 ответов
+ 3
Sarala Gnaneshwari try recalling how to calculate compound interest
+ 3
Make a more specific question, post your code so we can see where is the problem and always specify the programming language
+ 3
Make a function. Give it two arguments, one for the loan amount and one for the interest rate. Apply the appropriate calculation for the type of loan with the arguments as the formula's inputs. Return the result.