|
-
Nov 17th, 2000, 03:25 PM
#1
Thread Starter
Addicted Member
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!!!
-
Nov 17th, 2000, 03:58 PM
#2
Guru
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.
-
Nov 17th, 2000, 04:18 PM
#3
Thread Starter
Addicted Member
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
-
Nov 17th, 2000, 07:59 PM
#4
Hyperactive Member
-
Nov 18th, 2000, 09:16 AM
#5
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|