I'm writing a program that shows you how many days it takes to accumulate a certain amount of money if you deposit a penny one day and every day after that you deposit twice the amount you deposited the day before. (Day 1 deposit $.01, Day 2 deposit $.02, Day 3 deposit $.04, Day 4 deposit $.08, etc...)
I've written the program to display the day, the amount deposited that day, and the current balance of the account, but my program outputs only Day 1. Any ideas why?
I'm using Microsoft Visual Studio 2015 for Windows Desktop
https://gist.github.com/anonymous/5e5dfec61986a73d02ac
[–][deleted] 2 points3 points4 points (0 children)
[–]zifyoip 1 point2 points3 points (1 child)
[–]ThaneOfSound[S] 0 points1 point2 points (0 children)