This calculator can calculate housing loans in detail, including mortgage loans, Provident Fund loans, portfolio loans, and consumer loans, and can be calculated based on the same amount of interest or the same amount of principal. It can calculate the total loan amount, total repayment amount, interest payment, repayment time, loan balance, Monthly Return of the
1. The deduction of the formula for calculating the monthly amount of equal principal and interest law
In the previous essay "Use C # write personal housing Loan calculator" mentioned that, such as interest rate unchanged in the case of the monthly repayment amount is fixed, so also known as the "matching method", the calculation formula is as follows:
Monthly Return amount =
understand what object-oriented means. Zookeeper ~~
Finally, record a knowledge point: Some output statements in java contain escape characters, such as 'newline, carriage return, and tab, which cannot be used. For example:
Double quotation marks are \ "single quotation marks are \ '. The backspace is \ B tab is \ t line feed \ n carriage return \ r backslash \\
PS: Here are some recommended computing tools for your reference:
Online
Now, many people have personal housing loans, or will have personal housing loans. So let's use C # to write a calculator that calculates the repayment schedule for personal housing loans.
The calculator can calculate the repayment schedule according to the loan amount, the loan period, the
1. Verify that the car loan calculator on the page matches the result of the formula given in the requirement.Page Image:The code is as follows (simple implementation, need to be optimized): Packagecom.test;ImportJava.math.BigDecimal;ImportOrg.junit.Assert;Importorg.openqa.selenium.By;ImportOrg.testng.Reporter;ImportOrg.testng.annotations.AfterClass;ImportOrg.testng.annotations.BeforeClass;Importorg.testng.
Provident Fund Loan Calculator
Class=font> Price:Name=dj2> Yuan/
Name=mj2>
Size=1 name=chsh2>Value=7>7
Value=5>5
Value=3>3 into
Name=nsh2>Value=3>3 year (36)
Period) Value=6>6 Year (72)
Period) Value=9>9 year (phase 108) VALUE=10GT;10 year (phase 120) SELECTEDGT;15 year (phase 180) VALUE=20GT;20 year (phase 240) VALUE=25GT;25 year (phase 300) Value=30>30 year (360)
size=10Name=fkz2>
RMB
Mortgage Loan Calculator
Border=0>
Bgcolor= "#ffffff" class=font> Unit Price:size=10 name=dj1>/
size=10Name=mj1>
12px "size=1name=chsh1>
Value=7>7
Value=5>5
Value=3>3 into
Year of Mortgage:
Name=nsh1>Value=3>3 year (36)
Period) Value=6>6 Year (72)
Period) Value=9>9 year (phase 108) VALUE=10GT;10 year (phase 120) SELECTEDGT;15 year (phase 180) VALUE=20GT;20 year (phase 240) VALUE=25G
The Set calculator assists Java in processing conditional filtering of structured text, and java structuring
Using Java to filter data in text files by conditions may cause the following troubles:
1. files are not databases and cannot be accessed using SQL. When the filter conditions change, you must rewrite the code.
The Set calculator assists java in processing Structured Text Data Reading, java structured
JAVA only provides the most basic data reading functions such as specifying delimiters. Other common functions must be implemented at the underlying layer. For example: reads a specified column by column name, the sequence of th
The Set calculator assists java in processing the alignment connection of structured text, and java structuring
The database has associated statements to facilitate alignment and join operations. However, sometimes data is stored in text files. To use JAVA for direct computation, you need to write a large number of loo
The Set calculator assists Java in processing grouping and summarizing structured text, and java structuring
Using Java to group and summarize style files may cause the following troubles:
1. files are not databases and cannot be accessed using SQL. When the grouping and summary expressions change, you can only rewrite
The Set calculator assists java in processing the set operation of structured text, and java structuring
JAVA does not directly support set operations. Therefore, you must use nested loops to perform set operations such as intersection, union, and difference sets between text files. If there are many files, or if the f
/* The code used in the article is only a part of the source can be contacted by email me [email protected]*/Some time ago just to help classmates with MFC wrote a calculator, now learn Java graphics development, try to water a calculator out. (can be said to be a water-no-water calculator, I feel that MFC is really us
The examples in this article summarize the common methods used to write calculators in Java. Share to everyone for your reference, specific as follows:
Method One:
Package Wanwa;
Import java.awt.*;
Import java.awt.event.*;
Import javax.swing.*; public class Calculator extends JFrame {private Container Container; private gridbaglayout layout; private Gridbagconstra
INTs constraints; Private JTextField
correcting tool for HTML code can help your HTML code better conform to the specifications, now known as tidy, because it is not only used in HTML, but also now applies to the formatting of XHTML XML.But JSP is not suitable for code beautification of embedded scripts such as ASP PHP JSP
After downloading the source code make generate the tidy executable file:Tidy file1 file2 ...Note: To use the-raw option for pages that contain ChineseTidy.exe-raw-imuq-wrap 132-f%f.err%fOption Description:-
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.