| ||||||
| Off Topic Anything not relating to politics. A good place to cool off from all the debating. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |||||||||||||||||||||
| Citizen ![]() Join Date: Feb 2005 Location: cincinnati Posts: 173
| Looking for a few smart tech people before tomo.. Is anyone good at programming in C++? I really need help with hw that is due tomo for my class: The low interest rates have caused a great influx of business for Ripemoff Home Loans Inc they have asked you to develop a program that will allow them to prepare an amortization report for each potential applicant. This program will given the interest rate, amount borrowed and the term of the loan produce a report that details the monthly payment and its makeup for the first payment. The program will have to printout the breakdown for each payment over the term of the loan. It needs to be as easy as possible. Just printing it to cmd.exe www.rightwingextremist.net Sweet New Free Online War Game: http://www.gindis.com/modules.php?na...e&userid=36943 | |||||||||||||||||||||
| Sponsored Links |
| | #2 (permalink) | |
| Beer Man Join Date: Jan 2005 Location: stuck in the middle Posts: 3,432 Country: ![]() Thanks: 103
Thanked 288 Times in 165 Posts
| maybe you should try www.domyhomeworkforme.com "We could not now take time for further search or consideration, our victuals being much spent, especially our beer." - William Bradford Clowns to the left of me, Jokers to the right..... Now offering premium membership for only $25.00!! Click here to get started.! | |
| | #3 (permalink) | ||
| Website Owner Join Date: Jan 2005 Location: Taxachusetts Gender: ![]() Posts: 5,515 Country: ![]() Thanks: 12
Thanked 76 Times in 65 Posts
| Re: Looking for a few smart tech people before tomo.. Quote:
If you want to output just the first months payment, then just create a formula with interestrate (given), amtborrowed (get input from user), and term (get input from user). If you want to output the monthly payment you will have to setup an array. Make sure you declare monthlypayment or whatever integer or float as an array. I'm sorry but I don't have any of my C++ books here at school...I took that course 2 years ago. I don't know if I helped you out much, but that is the approach I would take. | ||
| | #4 (permalink) | ||
| Website Owner Join Date: Jan 2005 Location: Taxachusetts Gender: ![]() Posts: 5,515 Country: ![]() Thanks: 12
Thanked 76 Times in 65 Posts
| Quote:
| ||
| | #5 (permalink) | ||||||||||||||||||||||
| Citizen ![]() Join Date: Feb 2005 Location: cincinnati Posts: 173
| Quote:
hey thanks dick, no wonder you are 'onthefence'... Anyways Ridin i figured it out.. /* Name: Eric Date: November 8 2005 HW: Amortization Report*/ #include <stdio.h> #include <math.h> int main() { double Monthly_Payment; double Principal_Portion; double Intrest_Portion; double Intrest_Rate; int Term; double Amount_Borrowed; int counter; double Current_Balance; int Close_Program; printf("Enter the amount borrowed\n"); scanf("%lf", &Amount_Borrowed); printf("Enter the term of the loan\n"); scanf("%d", &Term); printf("Enter the intrest rate\n"); scanf("%lf", &Intrest_Rate); Monthly_Payment = Amount_Borrowed / ((1-pow((1+(Intrest_Rate/1200)),- Term )) / (Intrest_Rate / 1200)); Current_Balance = Amount_Borrowed; counter = 1; while ( counter <= Term ) { Intrest_Portion = Current_Balance * (Intrest_Rate/1200); Principal_Portion = Monthly_Payment - Intrest_Portion; Current_Balance = Current_Balance - Principal_Portion; printf("The Month is %d\n", counter); printf("The Monthly Payment is %lf\n", Monthly_Payment); printf("The Intrest Portion is %lf\n", Intrest_Portion); printf("The Current Principal is %lf\n", Principal_Portion); printf("The Current Balance is %lf\n\n", Current_Balance); counter++; } printf("To end the program please press any key then press enter twice\n"); scanf("%d", &Close_Program); return 0; } i have used visual basic before but never c++ so it is kinda new www.rightwingextremist.net Sweet New Free Online War Game: http://www.gindis.com/modules.php?na...e&userid=36943 | ||||||||||||||||||||||
| | #6 (permalink) | |
| Website Owner Join Date: Jan 2005 Location: Taxachusetts Gender: ![]() Posts: 5,515 Country: ![]() Thanks: 12
Thanked 76 Times in 65 Posts
| Is your concentration Computer Science? I took Pascal, VB, C, C++, Assembly Language w/ Intel Processors, HTML (of course), Java, and a couple others. When you learn C or C++, every other language will take no time to learn. | |
| | #7 (permalink) | |||||||||||||||||||||
| Citizen ![]() Join Date: Feb 2005 Location: cincinnati Posts: 173
| naw my concentration is Business Informational Systems. Pretty much a bachlor's to be a system analyst and stuff like that. Damn dude you took assembly language? that is crazy... I hate programing P.S. Is there a way you can enable a thing for a fast reply? so it doesnt open a new page? www.rightwingextremist.net Sweet New Free Online War Game: http://www.gindis.com/modules.php?na...e&userid=36943 | |||||||||||||||||||||
| | #8 (permalink) | |||||||||||||||||||||
| Council Member ![]() Join Date: Sep 2005 Location: Michigan, Near Detroit Posts: 1,029
| Ooo, it's a shame I didn't catch this thread sooner. I'm a professional C++ and Java programmer, and I love school assignments! So if you want or need any help with future assignments, or even if you want tutoring or a topic explained to you, you know who to call. Though it may be a good idea not to wait until the last day before its due -Jaxian | |||||||||||||||||||||
| | #9 (permalink) | |||||||||||||||||||||||
| Head of Security Join Date: May 2005 Location: The Cradle of Liberty Gender: ![]() Posts: 10,486 Country: ![]()
| Quote:
Fight the good fight, and die with the enemy's heart in your hand. http://www.armysailor.com http://www.tadpolenet.com/techblog ------------------------------------ Check out my latest addition to the blogosphere Quixotic Journey | |||||||||||||||||||||||
| | #10 (permalink) | ||||||||||||||||||||||||
| Citizen ![]() Join Date: Feb 2005 Location: cincinnati Posts: 173
| Quote:
And jaxian we had lab today for the class so i thought he would go over it but he didn't www.rightwingextremist.net Sweet New Free Online War Game: http://www.gindis.com/modules.php?na...e&userid=36943 | ||||||||||||||||||||||||
![]() |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
All times are GMT -5. The time now is 06:38 PM.



















Linear Mode