Results 1 to 5 of 5

Thread: Help Required!

  1. #1

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158

    Thumbs up

    I've go this exercise were I have to write a program to calculate the monthly payment that will pay off a loan.

    The inputs are:

    1. Loan Amount
    2. Annual Percentage Interest Rate
    3. Terms of Loan in Years

    The program needs to carry out the following processing:

    1. Validate entries assumiing sensible data (don't worry about this one).
    2. For each month the program should calculate:-
    > Interest Payment
    > Principal Payment

    2. For the last month calculate:-
    > Principal Payment
    > Final Payment

    The Output should be:

    1. Error messages for invalid data (don't worry about this .one)
    2. Monathly Payment
    3. Repayment Schedule, like bellow:

    NOTE:
    "|" = column seperator!

    Payment Num | Total Payment | Interest Payment | PrincipalPayment | Balance

    The programming side isn't really the problem, it's just that I'm not sure on the calculation the spec is not really clear to me. Perhaps I thinking to hard and deep about it?

    Any one know how to calculate the above?

    Please help ASAP thanks in advance!!!

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    I have never ever solved (or tried to solve) any financial problems. However, here is a list of financial functions available in VB:

    DDB, FV, IPmt, IRR, MIRR, NPer, NPV, Pmt, PPmt, PV, Rate, SLN, SYD

    I've never used those functions, but one of them might be useful for you. Check the help docs.

  3. #3

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158
    Neither have I, that's why I've asked for some assistance I don't rally find them that stimulating!

    Thanks for you help though Yonatan, greatly appreciated

  4. #4

  5. #5

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158
    theman32x thanks!!! for those links they were a grate help!!!

    Thanks Again!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width