Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 1: Problem Description: Write a program in Java that reads in: (i) investment amount x and (ii) number of years z from the

image

Project 1: Problem Description: Write a program in Java that reads in: (i) investment amount x and (ii) number of years z from the keyboard and calculates the future investment value using the following formula: number Of Months = 2x12 monthlyInterest Rate = futureInvestment Value 1200 = = x(1+ monthlyInterest Rate) number of Months The annual interest rate y depends on the investment amount and the number of years. If the investment is larger than $5000 and the number of year is larger than 3 years, the annual interest rate y = 3%. Otherwise, the annual interest rate y = 2%. The code should output the results as follows: (the underlined parts need to be replaced by the actual value) Code Example: Required Output Your investment amount is the value of x dollars. Your investment duration is the value of z. Your annual interest rate is the value of y. After the value of z years, you can get the future investment value dollars.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistics For Managers Using Microsoft Excel

Authors: David M. Levine, David F. Stephan, Kathryn A. Szabat

7th Edition

978-0133061819, 133061817, 978-0133130805

More Books

Students also viewed these Programming questions

Question

eval ( input ) python

Answered: 1 week ago