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

18th Nov 2022, 2:32 PM
Sarala Gnaneshwari
Sarala Gnaneshwari - avatar
3 Answers
+ 3
Sarala Gnaneshwari try recalling how to calculate compound interest
18th Nov 2022, 2:33 PM
Just Some Random Guy
Just Some Random Guy - avatar
+ 3
Make a more specific question, post your code so we can see where is the problem and always specify the programming language
18th Nov 2022, 3:31 PM
Giannis
Giannis - avatar
+ 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.
18th Nov 2022, 3:49 PM
Sam