Calculating future investment value

Assignment Help Other Subject
Reference no: EM132411797

MITS4002 - Object-Oriented Software Development

Activity

Project: Calculating Future Investment Value

Problem Description:

Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula:

and displays the future investment value using the following formula:

futureInvestmentValue =
investmentAmount * (1 + monthlyInterestRate)numberOfYears*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 Math.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 annual interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.34

Sample 2:
Enter investment amount: 1000
Enter annual interest rate: 4.25
Enter number of years: 1
Accumulated value is 1043.34

Analysis:(Describe the problem including input and output in your own words.)

Design:(Describe the major steps for solving the problem.)

Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)

Output screenshot:(Paste your output screenshot here)

Testing: (Describe how you test this program)

Reference no: EM132411797

Questions Cloud

Discuss and critically analyse your recent purchase : Examine the internal and external sources of information that you used in making your decision to buy the chosen product or service
PSYC3500 Learning and Cognition Library Guide Question : PSYC3500 - Learning and Cognition Library Guide assignment help and assessment help, Capella University - How can we use learning and memory theories.
PSYC550 Professional Ethics and Standards Assignment Problem : PSYC550 Professional Ethics and Standards assignment help and solutions, American Public University System, assessment help - The primary learning objective.
Engineering Ethics - Case Study Question : Engineering Ethics - Case Study Question - What might have gone wrong in the design process for this building
Calculating future investment value : Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value
What key aspects of the profession will you focus on : Imagine that you are scheduled to interview a practicing psychologist about what his/her job is like. This is known as an "information interview."
Post a photograph that represents or symbolizes the value : Post a photograph that represents or symbolizes the value. Then, briefly explain why you chose this photograph and describe how it represents your personal.
What were the greatest surprises in the findings : What were the greatest surprises in the findings? How confident do you feel regarding the knowledge currently available on the topic?
BUS 421 Entrepreneurship and Small Business Management : BUS 421 Entrepreneurship and Small Business Management Assignment Help and Solution, Emirates College Of Technology - Assessment Writing Service

Reviews

Write a Review

Other Subject Questions & Answers

  What was the goal of the present study

What was the goal of the present study

  Describe the impact pilgrimage routes had on romanes europe

Briefly describe the impact pilgrimage routes had on Romanesque Europe.

  How might nurses and nursing organizations improve policies

Examine how might nurses and nursing organizations improve policies to encourage the judicious use of antibiotics in humans?

  Make a convincing argument that addresses the issue

ENGL 2550 Introduction to Composition Assignment - Critical Analysis Essay, NorQuest College, Canada. Make a convincing argument that addresses the issue

  Effective thinking strategies

After discussing your situation, use critical thinking concepts to identify more effective thinking strategies that could have been utilized in your situation.(They must be research-based)

  Write an eassy on evolution of the juvenile justice system

Write a 2 page essay briefly discussing the history and evolution of the juvenile justice system.

  What is the conflict perspective in sociology

What is the purpose of sociological theory? What is the functionalist perspective? What are the three sociological perspectives? What is the conflict perspective in sociology

  Discuss what is the cause of duchenne muscular dystrophy

What is the cause of Duchenne Muscular Dystrophy(DMD). Why does this disease only affect males

  How realistic any or all suggested change could be implement

Explain what each of these are and potential policies, solutions, legal implications (especially as it pertains to the American legal system).

  How would you vouch the rental receipts

How would you vouch/verify the following? (a) Rental Receipts (b) Assets acquired on Hire-purchase Or Cash Sales. (c) Contingent Liabilities.

  What you really think about the given art work

What we want from you is a genuine response to what you see in the video. By "genuine" we mean what you really think about the art work.

  What is anti-oppressive practice and strength based practice

What is Anti-Oppressive Practice and Strengths Based practice and how can they help you to understand Erica's situation .

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd