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

  Imagine 5,000 input time slots are to be switched

The time slots are refreshed every 100 microsec. What memory cycle time is needed to keep up with the data flow.

  Program that has a function named presentvalue

Program that has a function named presentValue

  Desirable to force users to creat an explicit choice

Why is it not desirable to force users to build an explicit choice of a query processing strategy? Are there cases where it is desirable for users to be aware of the costs of competing query-processing strategie.

  How to utilize data mining tools and techniques

How to utilize data mining tools and techniques

  Detecting problem behind slow system booting

Suppose you have observed that your system is performing slower than the usual. Which system resources are likely to be at the root of the problem?

  Write a function that creates a cell and structure array

Write a function that creates a cell and structure array.

  Write down java-like pseudocode

Write down Java-like pseudocode

  Select which currency they wish to display

Expand the "Currency Conversion" program to have a menu of five currencies that allows the user to choose which currency they wish to show in its equivalency to the US dollars.

  Write down a c++ program that first reads an integer

create a C++ program that first reads an integer for the array size, then reads numbers into an array, computes their average and finds out how many numbers are above the average.

  Designing the class diagram

Instructors are allocated to one (or more) departments. One instructor also serves a department chair. Design a detailed class diagram in order to represent the above information.

  How to implementation using a minimal size multiplexer

One logic function that is used for various  of purposes (including with adders and to compute parity) is exclusive OR. The output of a two imput exclusive OR function is true only if exactly one of the inputs is true. Show the table for a two-inp..

  Data storage problem in the database tables

You must select the data storage problem of your interest and recognize the different pieces of the data which must be stored within the database.

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