Write a program to generate a table of factors

Assignment Help C/C++ Programming
Reference no: EM13936688

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: EM13936688

Questions Cloud

Dna replication is a method of growth, repair, and recovery : DNA replication is a method of growth, repair, and recovery. Give me the highlights for a cell making nuclear copies and for cells dividing for reproductive purposes. Not too much detail, because this could get lengthy. I will ask for more depth i..
Knowledge gap in senior management : The internet uses a network technology called TCP/IP. The name comes from the protocol stack that includes TCP protocol in the transport layer and IP protocol in the network layer. Sometimes UDP ..
Write a c++ program that will manipulate an array : Write a C++ program that will manipulate an array. It should handle up to 100 integer numbers. Write a separate function for each of the requirements mentioned below. Label the output appropriately.
Practical application of accounting theory : Write an explanation of each theory sourced, in the most part from the academic journal articles evaluated in Part A above (you may use additional sources to support your discussion including your set text).
Write a program to generate a table of factors : Write a program to generate a table of factors used to compute monthly payments for the money borrowed.
The internet uses a network technology : The internet uses a network technology called TCP/IP. The name comes from the protocol stack that includes TCP protocol in the transport layer and IP protocol in the network layer. Sometimes UDP protocol is used in the Transport layer ..
Consider a market where supply and demand : Consider a market where supply and demand are given by QXS = -10 + PX and QXd = 71 - 2PX. Suppose the government imposes a price floor of $33, and agrees to purchase any and all units consumers do not buy at the floor price of $33 per unit.
The conclusion that the level of output is efficient : The conclusion that the level of output is efficient at the market equilibrium rests on all of the following assumptions EXCEPT that __________ . A. buyers and sellers are well-informed B. there are no external costs or benefits
How can we avoid fragmenting habitats : How can we avoid fragmenting habitats and still retain the use of our property? What are some examples?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  When constructors and destructors are called

Objects, constructors and destructors are called each time the objects Enter and leave scope and inherit parent class

  Write recursive boolean method to accept array and value

Write down the recursive boolean method named isMember. The method must accept two arguments: an array and a value. Method must return true if value is found in array.

  Write a program for keeping a course list

Write a program for keeping a course list for each student in a college. The information about each student should be kept in an object that contains the student's name and a list of courses completed by the student.

  Preparing a high level language program

Describe the purpose of each step in preparing a high level language program for execution (editing, compiling, linking, and loading).  Include in your description the types of files created with each of the first three steps.?

  Packets of her favourite washing powder

She want to write a programme to determine which one of the packets is the best buy (most economical). Do the calculations and display which packet for all three packet.

  Selection and repetition concepts

Use Selection and Repetition Concepts for this problem. A parts inventory record contains the following fields:

  Determine the rate of heat loss from the absorber plate by

some at plate solar collectors change their tilt angle throughout the day in order to intercept the maximum amount of

  Binary tree routines in c++ that will handle single word

Attached is the input file. The commands should be executed in the order given. Where it says an order type such as inorder, that means to print the tree so far, in that way.

  Program calculates and displays salesperson''s commission

The sales manager at Tompkins Company wants a program that calculates and displays each salesperson's commission, which is 10% of his or her sales. It also should display the total commission. Use a value-returning function to get the amount sold by ..

  Write a c++ code for how to learn oop

Write a C++ code for How to learn OOP (Object oriented programming) by CPP(C Plus Plus) - general-purpose programming language

  Convert code of python in c

Hello , I have a code in python and I need to convert it in C. If you are an expert contcat with me.

  What is the output of the program below

What is the output when the following code fragment is executed?

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