How to write a program to generate a table of factors

Assignment Help Computer Engineering
Reference no: EM1331471

Write a program to generate a table of factors used to compute monthly payments for the money borrowed.

Use the following formula to compute the payment factors.

( I + 1)^N * I
Payment Factor = ---------------------
( I + 1)^N - 1

Where
I = 1/12th of the interest rate
N = Total months in term

The factor table will be defined based on the input supplied by the user. Input to the program will be the interest rate range (2 numbers), an increment, and the range of years to generate for the mortgage table. The program should prompt the user for these values. The output will be a table of these factors, rather there could be multiple tables as each individual table is allowed to be just 8 columns across and as many rows as there are years.

The table values should be printed with 4 digits of accuracy.

A sample session with program could look similar to following.

Monthly Payment Factors used to Compute Monthly Payments
Enter Interest Rate Range and Increment 8.00 16.00 .25
Enter the Year Range 1 20

interest rates
8.00 8.25 8.50 .... 9.25 9.50
1 xxx xxx xxx xxx xxx
years 2 xxx xxx xxx xxx xxx
3 xxx xxx xxx xxx xxx

Reference no: EM1331471

Questions Cloud

Explain e-business ethics and regulations affecting consumer : Would like to understand why these issues are any different in e-business as they would be in a brick and mortar business.
It is impossible to select as bmw and laser printers : It is impossible to select as BMW's and laser printers are fundamentally different goods with different purposes.
In brief describe rudimentary nms : Briefly explain rudimentary NMS (network management system) software components and the software applications that are required to support a network system.
What is it about hr that interest you the most : Human Resource Development - What is it about HR that interest you the most? Please explain
How to write a program to generate a table of factors : Write down a program to generate a table of factors used to compute monthly payments for the money borrowed.
Explain the answer to legal and ethical and regulatory issue : My goal is to fully understand the difference of how these issues differ from B2C and B2B sites as well as its difference to brick and mortar businesses. Please provide references for additional research.
Contractor brings a lawsuit against abc for discrimination : Drew explained that he would authorize hiring only American contractors to work on the grounds. A Hispanic contractor brings a lawsuit against ABC for discrimination.
Most important trends in hr professionals : What do you think are the most important trends that HR professionals must be aware of today regarding pay, labor, and succession planning?
Describe your answer with economic principles : Are you agree or disagree- Describe your answer with economic principles and the reasons why.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Program on inline internal procedures deposit and withdraw

Program on Inline internal procedures deposit and withdraw.

  Think about a cellular system with a total bandwidth

Think about a cellular system with a total bandwidth

  When the user presses the start button

When the user presses the start button, a menu display of potential destinations is activated along with a message to user to choose a destination.

  Sense making in health care organizations

Evaluate the most suitable way that the “sense making” may be applied to the health care organizations. Give the specific examples in order to support your response.

  Context free language

Let L1 be the regular language and L2 be the context-free language, both described over the same alphabet Σ. a) Is L1∩L2 always regular? Explain your claim.

  Generating ten random permutations

Write down a program which generates ten random permutations of numbers 1 to 10. To produce a random permutation, you require filling a vector along with the numbers 1 to 10 so that no two entries of vector have the same contents.

  Kind of the collapsible furniture

An inventor has just developed a new kind of the collapsible furniture which will be useful for the students in college dorms where space is limited.

  How important is it to keep the site current

How important is it to keep the site current.According to "Putting Business Online Isn't Always Easy" (2005), "the biggest mistake people make is failing to know the commitment a Web site demands."

  Arrays and control structures important tools in programming

Arrays and control structures important tools in programming.

  What is steady-state cpi

What is steady-state CPI

  Write a program that reads n positive numbers from keyboard

Write a program that reads N Positive numbers from keyboard

  Patent strategy contributing to succes of technology venture

Describe the ways by which an effective patent strategy contributes to success of technology venture? Answer should include at least 300 words. Also include references.

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