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?

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?

A) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
dblMPay = Pmt(dblAIntRate / 12, intYears * 12, -dblLoanAmt)

B) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
dblMPay = Pmt(dblAIntRate, intYears, -dblLoanAmt)

C) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
dblMPay = Pmt(dblAIntRate / 12, intYears, -dblLoanAmt)

D) Dim dblAIntRate as Double = 5.5
Dim dblLoanAmt as Double = 150000
Dim intYears as Integer = 30
Dim dblMPay as Double
dblMPay = Pmt(dblAIntRate, intYears * 12, -dblLoanAmt)


Correct Answer(s): A