Java Edition compound interest calculation

Source: Internet
Author: User

This is I modified to the beginning of the Java interface, there are many details of the problem has not been resolved, I hope the teacher can give me more comments, then continue to work hard, I will make every progress, and constantly go to exercise.

1. The development tools I use are ecipse

2. All languages are Java

3. Developer: Cai Rainbow

4. The plug-in used is: Swing

The code does not upload, explain the implementation of the function, currently, there are 8 classes written, namely:

Account1.java;

Bestefficiency.java;

Compoundaccount.java;

Fundaccount.java;

Principalaccount.java;

Sinaleaccount.java;

Timeaccont.java;

Yearincome.java;

A few pictures to illustrate:

This is the diagram of the start interface

Here is a graph of compounding interest:

If it's simple interest, there's no compound interest, and it won't appear on the panel.

The following is a diagram of the simple interest calculation:

This calculator also adds a surprise feature, in order to encourage partners, the more efforts the more fortunate:

The surprises are as follows:

If you do not enter a value, you will be prompted to enter the data and then calculate it.

The picture looks like this:

If there is no data. On the removal, also prompted that you do not have data, do not need to clear, thank you!

The figure is as follows:

Summary: There is also the menu and about the function has not been implemented, the next will be implemented is the menu and function, do this version, modified many times, has made a hiding week, constantly modified, get their own desired effect, a lot of days are staying up to get, but the harvest is many, the teacher said just slowly recalled, Through constant Baidu to find the main points, see textbooks, the process of high school, the final problem of a slow solution, before the Java teacher said not to put all the eggs in a basket, all part of the meaning is not to put all things in a class inside, so constantly cumbersome, and very no reason, All of my experimental classification to carry out, this should be different from many people, and the teacher said the name of the way must be better, if not English, you can consider Chinese, but must be clear, or a period of time back, even they do not know what they write, what can be considered to try, have ideas to try, Otherwise you do not know that you do not want to be right, is in the practice of seeking truth, hope since can always be so refueling down, refueling, the more efforts the more fortunate.

Java Edition compound interest calculation

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.