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 the program which reads two strings

Write the program which reads 2 strings, age (as a 4 bit binary number) followed by first name from keyboard then converts age from binary to decimal and prints out age in decimal.

  Create a serial sequence detector

You are to create a "Serial Sequence Detector". Your design will take in clock, reset, and one-bit data signal. Your design will check input data signal on rising edge of the input clock.

  Formula translation

Write a c code that will evaluate the roots of a quadratic equation

  Write down a program which explores the seating patterns

write a program that explores the seating patterns related to course performance by using an array of student scores.

  Write complete payroll program for a company

Now, write a complete PAYROLL program for a company in which each employee falls into one of the 3 categories - Administrative, FactoryEmployee or Salesperson.

  1 microsoft is developing a new program and they want to

1. microsoft is developing a new program and they want to identify the break-even point.their fixed cost is 72000 while

  Program to display words in a list box sorted by number

Write a program to display the words in a list box sorted by the number of different vowels(a,e,i,o,u) in the word.

  Discuss the features of object oriented programming language

Discuss the features of object oriented programming languages. A perfect square is a number that can be expressed as the product of two equal integers. Draw a flowchart, and write a corresponding class oriented program to check if any entered numbe..

  Program to create new departments to sustem

An ability to add new departments to system. The program should permit you to create new departments. Each department has a name, and a location (e.g. "Sydney" or "Tokyo").

  Write function which computes and returns sum of n numbers

Write a function, sumsteps2, which computes and returns sum of 1 to n in steps of 2, where n is argument passed to function. For example if 11 is passed, it will return 1 + 3 + 5 + 7 + 9 = 11.

  Find largest number in array

Find the largest number in the array and output the result. use a subprogram to input the numbers, a function to use the largest number.

  Design a flowchart that is also a fully functional program

Using Visual Logic, design a flowchart that is also a fully functional program. According to your design, the program must: Continually accept data regarding the purchase of fruit until a sentinel value is entered.

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