Limitation on loan calculator from a tutorial

Will it be able to calculate the total interest like the original example on SitePoint?