Description: C# programming
A loan contract, need to choose good loan specified amount, loan fixed number of year and loan annual rate
Tip: use structure function, loan specified amount, loan fixed number of year and loan annual interest rate as parameters
Can easily get the following information:
Loan specified amount
Years loan, loan months
Annual interest rate loans, loans month
Month payment
Monthly balance
Tip: use the method or property to achieve. R in the balance available indexers realize.
Loan months = loan × 12 years
Loan month = loan annual rate/12
Month payment = loan specified amount × month/(1- power ((1+ monthly interest rate),- loan months).
Produced balance for:
0 month balance: loan specified amount
A month after the balance = last month balance... (1+ month)- month payment
To Search:
File list (Check if you may need any files):
实验一\c#实验一.doc
......\代码\221000316_贷款计数器.csproj
......\....\221000316_贷款计数器.suo
......\....\bin\Debug\我的代码.exe
......\....\...\.....\我的代码.pdb
......\....\...\.....\我的代码.vshost.exe
......\....\...\.....\我的代码.vshost.exe.manifest
......\....\Form1.cs
......\....\Form1.Designer.cs
......\....\Form1.resx
......\....\obj\Debug\221000316_贷款计数器.csproj.FileListAbsolute.txt
......\....\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
......\....\...\.....\GenerateResource-ResGen.read.1.tlog
......\....\...\.....\GenerateResource-ResGen.write.1.tlog
......\....\...\.....\TempPE\Properties.Resources.Designer.cs.dll
......\....\...\.....\我的代码.csproj.FileListAbsolute.txt
......\....\...\.....\我的代码.csproj.GenerateResource.Cache
......\....\...\.....\我的代码.exe
......\....\...\.....\我的代码.Form1.resources
......\....\...\.....\我的代码.pdb
......\....\...\.....\我的代码.Properties.Resources.resources
......\....\Program.cs
......\....\...perties\AssemblyInfo.cs
......\....\..........\Resources.Designer.cs
......\....\..........\Resources.resx
......\....\..........\Settings.Designer.cs
......\....\..........\Settings.settings
......\....\UpgradeLog.XML
......\....\_UpgradeReport_Files\UpgradeReport.css
......\....\....................\UpgradeReport.xslt
......\....\....................\UpgradeReport_Minus.gif
......\....\....................\UpgradeReport_Plus.gif
......\实验一报告.doc
......\代码\obj\Debug\TempPE
......\....\bin\Debug
......\....\obj\Debug
......\....\bin
......\....\obj
......\....\Properties
......\....\_UpgradeReport_Files
......\代码
实验一