Suppose you own a bond that will pay a future value based on a given annual interest
Question:
- Suppose you own a bond that will pay a future value based on a given annual interest rate and the number of years in the future. Here’s the formula for determining the present value (what you can sell the bond for now):
Provide a Java assignment statement that calculates the present value (using future value, rate, and years), rounds to the nearest dollar, and assigns the result to a variable named presentValue. Use Math class methods.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Question Posted: