Test a program for calculate interest

Assignment Help Programming Languages
Reference no: EM13933477

Write a Visual Basic 2010 program to analyze a mortgage. The user should enter the amount of the loan, the annual 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 that it is reasonable. If bad data have been supplied, the user should be advised about it. 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.

Test the program for a mortgage of $240,000 at 6% annual rate of interest, and duration 360 months. Such a mortgage will have

a monthly payment of $1,438.92 and total interest of $278,011.65.

 

Reference no: EM13933477

Questions Cloud

Do you feel that the language acquisition during adulthood : Do you feel that the language acquisition during adulthood makes it difficult to learn languages past the presumed 'critical period' during childhood? Is this possible and why?
Based on real life project undertaken by any company : The research must be based on real life project undertaken by any company in any industry and the articles or report must highlight some problem on the project .
Firm is considering project that would change firm values : ATC has a value of $70,000 in a good economy and $55,000 in a recession. The firm has $60,000 of debt. The probability of a recession is 50 percent. The firm is considering a project that would change the firm values to $73,000 in a good economy and ..
What do you think are the implications of this history : Between the late 19th and turn of the 20th century, the US experienced record-breaking immigration (Brennan, 2002). That is, immigrants from many different parts of the world, particularly from Southern Europe, Asia, and the United Kingdom, were c..
Test a program for calculate interest : Test the program for a mortgage of $240,000 at 6% annual rate of interest, and duration 360 months. Such a mortgage will have a monthly payment of $1,438.92 and total interest of $278,011.65.
Concept of corporate social responsibility : "Discuss critically the extent to which you accept the concept of corporate social responsibility"
Develops and manufactures industrial controllers : Xyzzy is a medium sized company that develops and manufactures industrial controllers. You are an employee of Xyzzy and work as project manager in the product development department. The company has been approached to develop a new industrial cont..
Is tuition fee revenue likely to increase or decrease : Is tuition fee revenue likely to increase or decrease at these particular universities?
Issuing debt instead of new equity in a closely held firm : Issuing debt instead of new equity in a closely held firm more likely causes owner-managers to:

Reviews

Write a Review

Programming Languages Questions & Answers

  Write down a function middlereverse which takes a lowercase

write a function middlereverse that takes a lowercase string as an argument and returns a lowercase string that is the

  Analysis the advantages and disadvantages of social network

Analyze how the university might integrate at least two social media and networking technologies to accomplish their goals. Your analysis must cover the advantages and disadvantages of social networking.

  Write non-recursive function-compute n-th fibonacci number

Fibonnacci series 0,1,1,2,3,5,8,13,21,... starts with terms 0 and 1 and has property that each succeeding terms is sum of the two preceding terms. Write the non-recursive function which computes the n'th Fibonacci number.

  Program to display information about balance in account

Design an ordinary text file named solution06.txt. In that file, enter text required to make a web page that will display information about balance contained in family's account.

  Program to prompts user for integer and print prime number

Give a program which will compile in VS 2010. Write a program to prompts user for integer and then prints out all prime numbers up to that integer.

  Module program to compare state and county sales tax

Create a module program which will ask the user to enter amount of a purchase. Program must then compare state and county sales tax.

  Create a rexx program

Create a REXX program that asks a user for four separate lines of input, and then outputs those lines all at once, one line at a time

  How many credits they have taken in network systems

Write a program that will take in basic information from students, including their names and how many credits they have taken in Network Systems Administration program

  Recursive double function

each of these returns the list consisting of each element of list y in a list has been replaced by two copies of the elements and

  Program by bernstein-s conditions to get maximum parallelism

Restructure program by using Bernstein's conditions in order to get maximum parallelism between processes. Specify which of the three conditions is not satisfied.

  Design program to accepts account number

Design a program that accepts an account number, the account owner's first and last names, and a balance. Print the projected running total balance for each year for the next 20 years.

  Write program to calculate diameter in centimeters of rod

Write program to calculate diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

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