Thread: Please do my bank interest calculation homework

  1. #1
    Registered User
    Join Date
    Dec 2009

    Please do my bank interest calculation homework

    Suppose that P dollars are borrowed from a bank, with the understanding that a dollars will be repaid each month until the entire loan has been repaid. Part of the monthly payment will be interest calculated as i percent of the current repaid balance. The remainder of the monthly payment will be applied towards reducing the unpaid balance. Write a C program that will determine the following
    The amount of interest paid every month
    The amount of money applied towards unpaid balance each month
    The cumulative amount of interest that has been paid @ the end of each month
    The amount of loan that is still unpaid @ the end of each month
    The number of amount payments required to pay the entire loan.

    Test your program using P=$40,000
    I=%per month

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    What have you tried?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Sep 2006
    Before you code anything, make sure you have your math sorted out. Remember that percent *MEANS* hundreths, and you should be good to start out.

    When you need some help, post up what you have, and tell us what you're stuck on. We will help, but will not do, your homework.

  4. #4
    Join Date
    Dec 2009

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Programming project help?
    By Debbie Bremer in forum C++ Programming
    Replies: 21
    Last Post: 10-11-2008, 02:48 AM
  2. Compound Interest Formula
    By veronicak5678 in forum C++ Programming
    Replies: 3
    Last Post: 09-16-2007, 05:16 PM
  3. nested for loops and bank account interest help!!
    By webvigator2k in forum C++ Programming
    Replies: 1
    Last Post: 04-07-2003, 08:03 PM
  4. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM