Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Give a baby $5,000! Did you know that, over the last century, the stock market has ceturned an average of 10%? You may not care,
Give a baby $5,000! Did you know that, over the last century, the stock market has ceturned an average of 10%? You may not care, but you'd better pay attention to this one. If you were to give a newborn baby $5000, put that money in the stock market and NOT add any additional money per year, that money would grow to over $2.9 million by the time that baby is ready for retirement (67 years)! Don't believe us? Check out the compound interest calculator from MoneyChimp and plug in the numbers! To keep things simple, we'll calculate interest in a simple way. You take the original amount (called the principle) and add back in a percentage rate of growth (called the interest rate) at the end of the year. For example, if we had $1,000 as our principle and had a 10 % rate of growth, the next year we would have $1,100. The year after that, we would have $1,210 (or $1,100 plus 10 % of $1,100). However, we usually add in additional money each year which, for simplicity, is included before calculating the in tere st Your task is to design (pseudocode) and implement (source) for a program that 1) reads in the principle, additional annual money, years to grow, and intere st rate from the user, and 2) print out how much money they have each year.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started