Compound interest calculation--pair programming

Source: Internet
Author: User

1. Tasks

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?

1 resultlist.setvisiblerowcount (5);    // The default number of bars in JList is 5 2 c.add (new3resultlist.setforeground (color.black); 4 Resultlist.setbackground (color.light_gray); 5 listmodel.addelement ("Dynamic Capital present value display ...");

When the number of display bars in the jlist is greater than 5, a scroll bar appears for easy viewing.

2. Code GitHub Address:

Https://github.com/QueenIcey/Icey/blob/master/CalculatorJD.java

3. Recording

Expected programming time 4h
Actual programming time 6h
The work of a partner Writing Programs
My job. Modify the interface to find information

4. Pairing companion information

Study No.: 201406114101

Name: Chujuan

Blog Address:

http://www.cnblogs.com/queenjuan/

Work Photo:

5. Summary

In writing code, two people's tacit understanding is very important, this can ensure that the pair project can carry on normally, and can improve the efficiency to some extent. As we begin to rewrite the program, we will first communicate our own previous code and analyze the pros and cons of our code, and finally mix our code with two people and determine which template to use. Fortunately, our knot-to-pair communication has been smooth, leading to a quick determination of the pairing. In this pair project, we learn each other's merits, and propose each other's shortcomings, so that later programming can play their respective strengths, to make up for their short. Although our code is simple, but also has in the study other people's bright spot, takes its director, is the study advancement impetus.

Compound interest calculation--pair programming

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.