Project Detail

C++ Monthly loan payment  

C++ Monthly loan payment is project number 545918
posted at GetAFreelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status: Frozen
(Bid period finished)

Selected Providers: -

Budget: $30-250

Created: 11/07/2009 at 21:19 EST

Bid Count: 27

Average Bid:
$ 58

11/12/2009 at 21:19 EST

Project Creator: hurtle5 View PM Post PM
Employer Rating: (No Feedback Yet)

Bid On This Project
 

Description

This assignment will require you to develop a program that calculates monthly payments for a loan. You will develop the entire program from the problem statement, including developing the pseudo code, and the test data. There is no program template as with previous assignments.

In order to pass this project you must create a payment function. This function will have three formal parameters:
1. Amount of the loan as a float,
2. Number of months for the loan as an integer, and
3. Monthly interest rate expressed as a decimal as a float. It is not acceptable to pass the annual interest rate and calculate the monthly rate in the function.

The function should return a floating point value that is the monthly payment on the loan using the formula below. It should not output the payment,

This payment function will need to raise a floating point number to an integer power. You must use one of the two power functions provided in the Programming Assignments>Functions Project conference. You should not change anything in the power function.


The formula for periodic payments on a loan is:


P = ___ B * i_____
(1 – (1 + i) -n )

where:

P = loan payment
B = balance (i.e., the amount financed)
i = interest rate. Note that interest rate must be a decimal, not a percentage rate, and the rate must be for the period of the payments. Thus, if the annual interest rate (what is usually quoted by mortgage companies, banks, and credit cards) were 6%, it would be 0.005 (6/100/12) for monthly payments (12 per year)
n = number of payments in the loan. For a 5 year car loan, n would be 60 ( 5 * 12); for a 30 year mortgage, n would be 360 (30 * 12). Note that (1+i) is raised to the negative n power, not to the n power

After printing a welcome message, your program will ask the user if they want payments for a car loan or for a home loan. Then prompt the user for the amount of the loan, the annual interest rate (as a percentage, not a decimal number). If the user wants a car loan, calculate and print a report showing the payments for a 3 year loan (36 months), a 4 year loan (48 months), and a 5 year loan (60 payments). If the user wants a home loan, calculate payments for a 30 year loan (360 payments), and a 15 year loan (180 payments). To check your payment function, for a loan of $5,700 with a 3 year length, monthly payments, and an annual interest rate of 12½ %, the result is 190.686.

Creating and using a function for calculating (but not displaying) the payment is a requirement. You will not pass this assignment if your code correctly calculates the payment without using a payment function, and the power function.
The payment function will need to raise a floating point number to a negative integer exponent. You need a power function that your payment function calls and uses, and it should handle negative exponents. You need to use one of the power functions that are in the files power.cpp or powerrecursive.cpp. Choose either the iterative power, or the recursive power. Do not change anything in the power function that you use. Do not change or delete any of the comments in the power function
You are responsible for creating a set of data to fully test your program, and to submit this with your assignment. Your test data should include the test data given above ($5700 over 3 years at 12.5% has a payment of $190.686).
You must appropriately document your code, use appropriate indentation, and use self documenting variable names. Each module (main, payment, and power) must have a set of header comments that lists the name of the person who created the code (i.e., you for main and payment ), the date the code was created, a section listing revisions and revision dates (which will be empty in this the initial release of your program), a description of what the module does, what the module needs as inputs, the type of the inputs, and where they come from either the key board, or passed as parameters. Finally the header comments should describe the outputs from the module. Any known invalid cases or problems should also be described.

Messages Posted:1 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 
View PM Post PM

40

2 days

11-08-2009 16:58 EST

Hi, ready to go.

help

 
View PM Post PM

100

5 days

11-09-2009 11:31 EST

I am experienced C++ professional. I got 91% in brainbench and Elance c++ exams. I'll do this

help

 
View PM Post PM

100

4 days

11-07-2009 21:48 EST

Please see PM. Thanks.

help

 
View PM Post PM

30

3 days

11-08-2009 03:12 EST

Good day After reading the assignment several times I am quite confident it wouldn't be a problem. I would need a power function. ( power.cpp or powerrecursive.cpp ). It should be located somewhere > Programming Assignments>Functions Project conference

help

 
View PM Post PM

50

2 days

11-11-2009 09:48 EST

Please check the PMB.

help

 
View PM Post PM

80

15 days

11-07-2009 22:08 EST

(No Feedback Yet)

Please check PMB

help

 
View PM Post PM

45

4 days

11-08-2009 00:10 EST

(No Feedback Yet)

Sir, i will do it.

help

 
View PM Post PM

30

1 day

11-08-2009 00:50 EST

(No Feedback Yet)

Easy task.

help

 
View PM Post PM

40

4 days

11-08-2009 01:21 EST

(No Feedback Yet)

i can do it sir

help

 
View PM Post PM

150

5 days

11-08-2009 01:35 EST

(No Feedback Yet)

I am very good in C++ and confident that I will certainly do the program.

help

 
View PM Post PM

50

1 day

11-08-2009 02:47 EST

(No Feedback Yet)

Will be able to deliver this project in time

help

 
View PM Post PM

30

0 days

11-08-2009 03:03 EST

(No Feedback Yet)

Let me do this simple assignment.

help

 
View PM Post PM

40

3 days

11-08-2009 03:56 EST

(No Feedback Yet)

I am ready to start!

help

 
View PM Post PM

30

1 day

11-09-2009 05:08 EST

(No Feedback Yet)

Hello sir, I have over 3 years experience in c/c++.I did similar job as my course project.I can do it. thank you

help

 
View PM Post PM

100

4 days

11-08-2009 07:31 EST

(No Feedback Yet)

I'll do it

help

 
View PM Post PM

45

3 days

11-08-2009 08:00 EST

(No Feedback Yet)

hi there, I can do it!

help

 
View PM Post PM

60

15 days

11-08-2009 12:34 EST

(No Feedback Yet)

Let get started, I am ready.

help

 
View PM Post PM

100

20 days

11-08-2009 14:18 EST

(No Feedback Yet)

Hi, This project is related to troviding information about monthly installment of a loan where the input is the type of loan, total amount etc. I have experience in this type of projects, I am confident that i will implement this project.

help

 
View PM Post PM

30

1 day

11-08-2009 15:29 EST

(No Feedback Yet)

Simple to implement, read the PM I've sent you

help

 
View PM Post PM

45

2 days

11-08-2009 23:00 EST

(No Feedback Yet)

This is a simple task, I have a favor of C++ over any other language, and feel this should be a bugfree and trouble proof project. Get back to me right away, and I can get started.

help

 
View PM Post PM

30

2 days

11-09-2009 00:59 EST

(No Feedback Yet)

Hi this is a very easy task i have done these kind of things in 3rd semesester of my engineering so this will not bother me w waiting for your response

help

 
View PM Post PM

150

3 days

11-09-2009 02:06 EST

(No Feedback Yet)

I am an experienced Developer; I have an experience of about 10 yrs. I am willing to do this task. I need power.cpp or powerrecursive.cpp. I will deliver the project in time and in the way you need it. Check PMB. Thanks

help

 
View PM Post PM

50

1 day

11-09-2009 03:29 EST

(No Feedback Yet)

Hi, Please check the PM

help

 
View PM Post PM

30

2 days

11-10-2009 23:29 EST

(No Feedback Yet)

Looking to develop some experience. I can get your formula working. Looking at the problem statement, shouldn't take too long. Put 2 days just to be safe, but I think 1 would do.

help

 
View PM Post PM

30

2 days

11-11-2009 02:41 EST

(No Feedback Yet)

Not a problem to do, in which C do you need it?

help

 
View PM Post PM

30

3 days

11-12-2009 07:23 EST

(No Feedback Yet)

I'm looking forward to work with you.

help

 
View PM Post PM

50

5 days

11-12-2009 13:31 EST

(No Feedback Yet)

I can complete this in 5 days.

help


    Bid on this Project