Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions

Question

How do firms choose the optimal combination of inputs?

Answered: 1 week ago

Question

Complexity of linear search is O ( n ) . Your answer: True False

Answered: 1 week ago