ABC Bank gives loans to its customers at a monthly interest rate of 0.75%, and recipients are expected to make fixed payments every month. The bank uses the formula below to keep track of the remaining balance recipients owe after each monthly payment.

``````where:
``````

Balk = balance remaining after the kth payment.
k = payment number (1, 2, 3, …)
pmt = amount of the monthly payment.
i = interest rate per month (0.75%)
n = total number of payments to be made (where n k)

Write an interactive program in C to calculate and display the balance remaining after the 3rd and 6th monthly payments (i.e. when k=3 and k=6). The program should prompt the user to enter values for monthly payment, and total number of payments to be made (i.e. n). Declare the interest rate per month (i) as a named constant so that its value cannot be changed.

Edited by pritaeas: Moved.

3
Contributors
2
Replies
15
Views
4 Years
Discussion Span
Last Post by Schol-R-LEA

A) You are in the wrong formum

Write an interactive program in C

B) You didn't read the rules or you ignored them.

First off, this is the C++ forum, not the C forum; you'll want to ask questions about C programming there. Second, all you've done is post your assignment; you haven't asked a question, or shown any indication of having done any of the work on the project yet. Daniweb rules state:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

It is forum policy that we will only provide assistance in solving problems, not answer the problems for you. No one here is going to hand you a homework solution gratis.

Oh, and you might want to use a more descriptive thread title, one explaining the help you need in more detail.

Now, then, what part of this do you need help with? If necessary, post those parts of your code you are having trouble with, using the Code button at the top of the editing window.

Edited by Schol-R-LEA

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.