In Programming Challenge, write a program (like the programs in this chapter) to solve the given problem. Include appropriate input prompts and annotate output.
Write a program to compute and display an investment’s total interest and final value when the user inputs the original amount invested, rate of interest (as a decimal), and number of years invested. You will need the following variables:
Interest (a Float) | Principal (a Float) | Rate (a Float) |
FinalValue (a Float) | Time (an Integer) |
|
You will need the following formulas:
Interest = Principal * Rate * Time |
FinalValue = Principal + Interest |
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.