5.6k views
4 votes
Which of the following sections of code will calculate the monthly payment for a $150,000 house with a 30 year mortgage at an annual rate of 5.5%, and assign the result to dblMPay?

User Rahul Bali
by
8.7k points

1 Answer

6 votes

Answer:

dblMPay = Pmt(dblAIntRate / 12, intYears * 12, -dblLoanAmt)

Step-by-step explanation:

Dim dblAIntRate as Double = 5.5%

Dim dblLoanAmt as Double = 150,000

Dim intYears as Integer = 30

Dim dblMPay as Double

dblMPay = Pmt(dblAIntRate / 12, intYears * 12, -dblLoanAmt)

User Kirby
by
8.5k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories