Solved

Which of the Following Sections of Code Will Calculate the Monthly

Question 15

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions