Write a program to compute and display an investments total interest and final value when the user

Question:

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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: