Web host music - 127Chapter 7Passing Information between Pageswhile ($YearCount A retirement-savings
127Chapter 7Passing Information between Pageswhile ($YearCount <= $Years) { $Total = round($Total * (1.0 + $AnnGain/100) + $_POST[ Contrib ]); $YearCount = $YearCount + 1; } } ?>
A retirement-savings calculator
Fill in all the values (except Nest Egg ) and see how much money you ll have for your retirementunder different scenarios. You can change the values andresubmit the form as many times as you like. You must fillin the two Age variables. The Annual return variable hasa default inflation-adjusted value (7% = 8% growth minus 1% inflation) which you can change to reflect your greateroptimism or pessimism.