Implement the logic to calculate the EMI for Home loan, Personal loan and car loan using the formula
EMI = (L*I)* {(1+I)^N / [(1+I)^N]-1}
Where
L = loan amount
I = interest Rate(rate per annum devided by 12)
^ = to the power of
N = Loan Period in months
EMI = (L*I)* {(1+I)^N / [(1+I)^N]-1}
Where
L = loan amount
I = interest Rate(rate per annum devided by 12)
^ = to the power of
N = Loan Period in months
No comments:
Post a Comment