I. Customer needs
Completed requirements:
1. Customer said: Help me develop a compound interest calculation software.
2. If according to simple interest calculation, how much is the principal and interest?
3. If a pension of $3 million is to be raised after 30, the average annual return is 3%, what is the amount of principal that must be invested now?
4. Interest rate is so low, compounding profits are so strong, if take 1 million yuan to buy annual rate of return 10% of the stock, if all smooth, too long, 1 million yuan becomes 2 million yuan?
5. If I want to turn $1 million into $2 million within 10 years, how much should I find the investment tool to help me achieve my goals? If you want to double the principal after 5 years, how much should the rate of return be at least?
6. If the savings of $30,000 are to be invested annually, with a return of 3% per annum, and then a new round of investment in these Benli and annuities, what will the total value of assets be after 30 years? What if we switch to 3000 a month?
New requirements:
1. To pursue benefits and to face unpredictable financial investment risks, "you cannot put eggs in the same basket", so it is necessary to make a portfolio investment.
The above calculations and comparisons can help customers make investment decisions.
Customer: So can you help me to record a different type of investment, and dynamically show the current value of money?
Two. Task assignment
I: responsible for the code to find bugs and and modify the code to check the simplicity of
teammates: main write code, carry out the customer request realization
Three. Pair members
Name: Feng Zifan
Study No.: 201406114214
Blog Park Address: http://www.cnblogs.com/14fzf/
GitHub Address: Https://github.com/fengzf/Ruan
Four. Team Work photos
five. Estimated Time
Estimated time: 4h
Estimated code line: 100
Actual elapsed time: 6h
Actual code line: 200
Six. Results
Seven. Harvesting and sentiment
This feature is difficult to implement, we do not use the high-level Java connection database, simple use of arrays, because the time is more urgent, we will slowly run, and to the challenge of higher difficulty, I read a lot of Java Connection Database blog,
but because the main learning is not Java, learning will be very stressful, I will make full use of the opportunity of teamwork to continuously improve their various aspects of the ability. A good program requires constant improvement and teamwork, and we also need to keep learning. make full use of online knowledge and keep improving.
Compounding Calculator 5.0 Enhanced Edition