Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Homework #1-Financial Freedom Instructor: Michael D. Falkow, PMP CPSC 120 Fall 2017 Now that you are totally freaked out (do not worry, it is not
Homework #1-Financial Freedom Instructor: Michael D. Falkow, PMP CPSC 120 Fall 2017 Now that you are totally freaked out (do not worry, it is not difficult)... for this homeworlk assignment, I want you to write a C++ program that accomplishes the following: 1. Request the user's first and last name and age (a decimal value for age should be OK) 2. Request from the user an amount to invest/save (e.g., the principle) 3. Request from the user an expected annual rate of return (e.g. the rate) 4. Display the user's full name and how much money he/she will have in 10 years. 5. Display a blank line and then how old the user will be when his/her investment doubles. 6. Display a blank line and then show how much the investment will be worth when he/she is 65 years old, which is perhaps when he/she is ready for retirement. For this assignment, you may work with one partner. If you choose to do so, please be sure to include both of your names and the last four digits of your respective CWID numbers in the comments of your code at the top. Be sure to use self-defining variables, comments, and structure (e.g., indent) your code effectively and efficiently Before you write a single line of code, however, I want you to produce fairly detailed pseudocode (not every single line, but your entire algorithm), which you can handwrite and take a photograph of to be included in your final report (you can insert the photo into your Word document) You will include your source code as part of your report. You may wish to use the following code to format your dollar amounts with commas (for easy reading) and with fixed precision of two digits to the right of the decimal place #include std:: cout.imbue(std::locale("")) std::cout
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