Create a visual basic program to analyze a mortgage

Assignment Help Visual Basic Programming
Reference no: EM13928439

Create a Visual Basic program to analyze a mortgage. The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months. When the user clicks on the button, the information that was entered should be checked to make sure it is reasonable. If bad data have been supplied, the user should be so advised. Otherwise, the monthly payment and the total amount of interest paid should be displayed. The formula for the monthly payment is:

Payment = p * r / (1 - (1 + r) ^ (-n)),

Where p is the amount of the loan, r is the monthly interest rate (annual rate divided by 12) given as a number between 0 ( for 0 percent) and 1 (for 100 percent), and n is the duration of the loan in months. The formula for the total interest paid is:

total interest = n * payment - p.

Design your screen to look like the one below.
Store the amounts entered by the user in variables and use these variables in the formula.
Use appropriate naming conventions for controls and variables.
Include internal documentation to describe the logic in your program (i.e. put comments in your code)
Make sure your error messages are meaningful.
Ensure that the user cannot enter anything into controls that display your totals.

Reference no: EM13928439

Questions Cloud

What number of shares is necessary to ensure your election : If the voting procedure is cumulative, what number of shares is necessary to ensure your election to the board? Is it possible for you to be elected with fewer votes? Explain.
What is the rhyme scheme of the poem : What is the rhyme scheme of the poem? Meter? Who is the poem's speaker addressing? Explain the poem's frog simile. What does the speaker mean by declaring that he or she is a "nobody"
What book value should appear on the balance sheet : After the work was completed, what book value should appear on the balance sheet for the tow truck and the building?
Create a visual basic program to analyze a mortgage : Create a Visual Basic program to analyze a mortgage. The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months.
Read the guillermo furniture scenario : Read the Guillermo Furniture Scenario and review the Guillermo Furniture Data Sheets on your student Web site. Enter your name in cell A3 of the Income Information tab in the Guillermo Furniture Data Sheets. Submit the exact name you entered to yo..
Shannons characteristics of good ciphers : Which of the following is NOT one of Shannon's Characteristics of Good Ciphers?
What is the current value of the stock to coley : He believes that the stock will increase in value to $30 at the end of 4 years. What is the current value of this stock to Coley if he requires a 20 percent rate of return on stocks of this risk level?
Historical perspective-us foreign policy : Pick two (2) similar federal policies that were discussed over a span of two (2) different administrations. For example, President Clinton's and Obama's healthcare policies or President's George H.W. Bush's and George W. Bush's foreign policy.

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Create a sub procedure that calculates and displays the next

A national Digital service provider would like you to create a Windows application that will display the global growth of smartphones. As of 2013, there 913 million smartphones worldwide.

  Create a computer program that calculates the zero

Using Microsoft Visual Basic for Applications in Excel, create a computer program that calculates the zero(s) of the equation f(x)=e^(x)-10x=0 by using the inverse linear interpolation (regula falsi) method.

  Arithmetic calculator applicationwrite an application that

arithmetic calculator applicationwrite an application that allows the user to enter a series of numbers and manipulate

  Explanation of benefits to the business

Explanation of benefits to the business of using your proposed system, both tangible and intangible

  Write a program to create an invoice form for an order.

Write a program to create an invoice form for an order. After the data on the left side of Fig. 5.27 is entered, the user can display an invoice in a list box by pressing the Process Order button. The user can click on the Clear Order Form button to ..

  Create an application in which a user can enter a phone book

Create an application in which a user can enter a phone book entry, including the following elements: First Name, Last Name, Phone Number, email address

  Assignment data storagenbspcomputer processes need to be

assignment data storagenbspcomputer processes need to be able to store data during the execution phase. the data may

  Gas pumpa gas pump calculates the cost of gas at a local

gas pumpa gas pump calculates the cost of gas at a local gas station. the station charges 2.69 per gallon for regular

  Create a windows application that functions like a banking

Create a Windows application that functions like a banking account register. Separate the business logic from the presentation layer (create a class with all the methods and properties).

  Determine the output displayed when the button is clicked

Determine the output displayed when the button is clicked. Determine the output displayed when the button is clicked

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Write a program to create an invoice to the supplier

Write programs in Visual Basic while being guided by the six steps of the program development cycle: analyze the problem, design a solution, choose the interface, write code, test and debug your solution, and document code.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd