Write a
Future Investment Value =
Investment Amount x (1 + monthly Interest Rate) number Of Years*12
For example, if you enter amount 1000, annual interest rate 3.25%, and number of years 1, the future investment value is 1032.98.
Hint: Use the pow (a, b) method to compute a raised to the power of b.
Here is a sample run:
Sample 1:
Enter investment amount: 1000
Enter monthly interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.34
Sample 2:
Enter investment amount: 1000
Enter monthly interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.34
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 1 images
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY