Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an application that displays a monthly payment on a loan. The application should also display the amount applied to the loans principal each month

Create an application that displays a monthly payment on a loan. The application should also display the amount applied to the loans principal each month and the amount that represents interest. Use the following names for the solution and project, respectively: Loan Solution and Loan Project. Save the solution in the VbReloaded2015\Chap07 folder. Change the form files name to Main Form.vb. The application should use annual interest rates from 2% through 10% in increments of 1%, and use terms from 1 through 30 years. You can use the Financial.PPmt method to calculate the portion of the payment applied to the principal each month. The methods syntax is Financial.PPmt(Rate, Per, NPer, PV). In the syntax, Rate is the interest rate, NPer is the number of payment periods, and PV is the present value of the loan. The Per argument is the payment period for which you want to calculate the portion applied to the principal. The Per argument must be a number from 1 through NPer. The method returns the calculated value as a Double number. You can either create your own interface or create the one shown in Figure 7-44; the figure shows a sample run of the application. The combo box that gets the interest rate is the DropDown style. The combo box that gets the term is the DropDownList style. The text box that displays the output has its Multiline and ReadOnly properties set to True and its ScrollBars property set to Vertical

image text in transcribedimage text in transcribed

Loan Calculator Principal: 120000 Term (years) 30 Annual interest rate (%): 4 1 Display] Exit Monthly payment:$572.90 Principal and interest: Principal Interest 172.90 173.47 174.05 174.63 175.22 175.80 176.39 176.97 400.00 399.42 398.85 398.27 397.68 397.10 396.51 395.93 v Figure 7-44 Sample run of the Loan Calculator application

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions