Question: USING SIMPLE C++ WRITE A INVESTING CALCULATOR Next, we will be calculating the total interest of an investment, based on user input. The calculation of
USING SIMPLE C++ WRITE A INVESTING CALCULATOR
- Next, we will be calculating the total interest of an investment, based on user input. The calculation of simple interest needs three values; the Principal investment, the Rate of interest per year as a decimal between 0 and 1 (representing a percent), and the Time period in years. Using the equation, A = P * (1 + R * T), where A is the total Accrued, write a program that reads in P, R, and T from the user and prints the total Accrued. submit your program and a test suite for it as your submission. Then answer the following questions
Given you have a principal investment of $10,000, answer the following questions
- What is the total accrued at 4% per year, for 4 years?
- What is the total accrued at 6% per year, for 2 years?
- What is the total accrued at 3% per year, for 5 years?
- The total accrued is equal to the sum of the principal investment and the interest earned. Knowing this, modify your program to print the interest earned following the calculation of the total accrued.
- If you were investing your money into any one of these three ventures, which would you choose? Why?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
