Compound Interest Calculates 5.0 pairs

Source: Internet
Author: User

Project requirements:

That is, to pursue benefits, but also to face unpredictable financial investment risks, "can not put eggs in the same basket", 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?

Public double[] Money = new double[100];p ublic double[] Sum = new double[100];p ublic double[] year = new double[100];p Ubli C double[] rate = new double[100];p rivate int input = 0;

Storing your history with an array allows you to record different types of investments.

Iv. estimate the time required to implement, record pairing programming time, and write on the blog.

Estimated Time: 5h

Estimated code line: 160

Actual elapsed time: 9h

Actual code line: 340 lines

Pair companion's study number: 201406114102

Name: Yang Jingjing

Blog Address: http://www.cnblogs.com/jjy520/

Summing up the pair of programming, there are a lot of harvest and sentiment. Pairing programming is different from personal programming, many of the code in the personal completion of the bug and careless to make the mistake can not be found, in the pair programming will be able to reduce more, two people say the mastery of the different points of knowledge, add up is to master more methods.

Because the code before the separate writing is no interface, cooperation is very inconvenient, ask someone else, now get an interface, realize the function becomes more convenient.

Compound Interest Calculates 5.0 pairs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.