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)
```

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)
```

Computer Science & Information Technology

You might also like to view...

Which alignment option positions the right edge of a line of text against the right margin?

A) Left B) Center C) Right D) Justify

Computer Science & Information Technology

List common vendor problems that account for support services problem incidents.

What will be an ideal response?

Computer Science & Information Technology