Basic interest

This is a discussion on Basic interest within the C++ Programming forums, part of the General Programming Boards category; K, My brain hurts... this shouldn't be this hard... im making it way more complicated than it has to be... ...

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Basic interest

    K, My brain hurts... this shouldn't be this hard... im making it way more complicated than it has to be...

    Inline comments explain what my code tries to accomplish, but i wanna add one more thing to it...

    I need to know a way to calculate the total interest a user will have paid over the life of their loan.

    any help would be greatly appreciated...
    Attached Files Attached Files

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    So, you know (or should know) how much they paid. You know how much they owe. How oh how could you calculate how much extra they paid more than what they owe?

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    2
    like, okay....

    the user inputs the total remaining balance on their loan

    they then put in their annual interest rate (compounded monthly)

    they then input how much they intend to pay each month

    then, the program calculates how much their balance would be at the end of every month, including that interest.

    i would like to know how i could sum up the total interest they paid and let them know "this is how much you paid in pure interest over the life of your loan."

  4. #4
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Quote Originally Posted by et tu brutal View Post
    i would like to know how i could sum up the total interest they paid and let them know "this is how much you paid in pure interest over the life of your loan."
    So, you know (or should know) how much they paid (total over the life of the loan). You know how much they owed. How oh how could you calculate how much extra they paid more than what they owe?

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, 03:48 AM
  2. Compound Interest Formula
    By veronicak5678 in forum C++ Programming
    Replies: 3
    Last Post: 09-16-2007, 06:16 PM
  3. [ANN] New script engine (Basic sintax)
    By MKTMK in forum C++ Programming
    Replies: 1
    Last Post: 11-01-2005, 10:28 AM
  4. what are your thoughts on visual basic?
    By orion- in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-22-2005, 05:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21