The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 314 Weeks Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Can someone assist me by writing a program that will calculate simple interest of a given amount? This will be an accrued amount which will include the principal plus interest. You can use following formulas to perform calculations:
A = P(1 + rt)
R = r * 100
Where:
A = total accrued amount (principal + interest)
P = principal amount
r = rate of interest per year (or month) in decimal; r = R/100
t = time period involved in years (or months)
As an example, suppose P = 10,000, R = 3.875% per year and t = 5 years. Then
A = 10,000(1 + (0.03875 × 5)) = 11,937.5
A = 11,937.50
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly