Writing an Expression for a Monthly Payment
Write a valid Visual Basic .NET expression for the Automobile Loan Payment formula in the project developed in this chapter. If you developed the Automobile Loan Payment application in this chapter, place the expression in your code as a substitute for the use of the Pmt function. Be sure to use any data type conversions necessary to conform to the restrictions of the Option Strict On statement. test the change to be sure that you obtain the same results as the Pmt function.
