Readplace

:red_circle: Add correct logic to create variable 'interestAmount' · FagnerMartinsBrack/jack-the-moneylender@aaedff4

GitHub 1 min read
View original
  • current

This article is too short to summarise.

Original file line numberDiff line numberDiff line change

@@ -19,6 +19,7 @@

1919

}

2020
2121

if (loanAmount.equalsTo(Money('$5001.00'))) {

22+

const interestAmount = Money('$0.14').multipliedBy(dollarsAboveThreshold);

2223

return interestAmount;

2324

}

2425