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 a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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