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

  Find the number of errors that (e,d) will correct

find the number of errors that (e,d) will correct.

  Establish a formal evaluation criterion

Why would it be wise to build a formal evaluation criterion for a company to use when purchasing new hardware or software.

  Problems on microcomputer applications for management

problems on Microcomputer Applications for Management.

  What is the significance of optimizing the design

What is the significance of optimizing the design

  Kinds of digital and logical evidence

State some of the kinds of the digital and logical evidence, and special content data investigators may require to gather during an actual cyber-terrorism case.

  Analyze running time of algorithm

Analyze running time of algorithm

  Program that reads letters from a file called"inputlet.txt"

This program must open an inputLet.txt file , read in one character at a time and repeat this for the number of games the user wants to play.

  Complete handover of change management

How much control will you expect the Project Manager to have over planned changes, in projects where work has been extensively outsourced to external contractors? Full or partial control, or a complete handover of change management responsibility ..

  Write down a java program, which build a binary tree

Write down a java program, which build a binary tree

  Words might appear multiple times in the entered text

write down a program that allows the user to enter a line of text. I then need to use the stringTokenizer to break the input into words. I have to Put these words into a link list and then print them out in alphabetical order.

  Explaining the binary tree

The left spine of the binary tree is a path starting at root and following only left-child pointers down to a leaf. State the expected number of nodes in left spine of an n-node treap. What is the expected number of leaves in an n-node treap?

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

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