This program demonstrates the use of reading in user input functions, C++ Strings, Looping, simple math functions, and formatted printing of floating-point numbers.
Unit 2: Programming Assignment - Calculating Investment Balance
An online bank wants you to create a program that shows prospective customers how their deposits will grow. Your program should read in the initial balance and the annual interest rate. Interest is compounded monthly. Print out the balances for each month for12 months. Your program should use a loop. Here is a sample test run:
Initial balance:1000
Annual interest rate:6.0%
Month Balance
1 1005.00
2 1010.03
3 1015.08
...
12 ?????
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here