Question: Microsoft Visual Basic 2015 Chapter 7 Case Project Loan Calculator How do I create the right calculation for this loan calculator? #Option Explicit On Option

Microsoft Visual Basic 2015 Chapter 7 Case Project Loan Calculator How do I create the right calculation for this loan calculator? #Option Explicit On Option Infer Off Option Strict Off Public Class MainForm Private Sub exitButton_Click(sender As Object, e As EventArgs) Handles exitButton.Click Me.Close() End Sub Private Sub calcButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calcButton.Click Dim Rate As Double Dim Per As Integer Dim NPer As Double Dim PV As Double Dim Principal As Double Dim Interest As Double Dim monthlypayment As Double Rate = ((airComboBox.Text / 100) / 12) NPer = (termComboBox.Text * 12) PV = pTextBox.Text paymentsListBox.Items.Add("Principal " & vbTab & "Interest") For Per = 1 To NPer ' calculate Principle using Financial method Principal = -Financial.PPmt(Rate, Per, NPer, PV) 'interest calculation Interest = Principal * Rate paymentsListBox.Items.Add(Format(Principal, "0.00") & vbTab & Interest) mpTextBox.Text = -Financial.Pmt(Rate, NPer, PV:=Principal) Next End Sub#

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!