Find Jobs
Hire Freelancers

C++ Program - MS DOS Console

$30-5000 USD

Completed
Posted about 20 years ago

$30-5000 USD

Paid on delivery
This project consists in producing the C++ source code for a DOS application as described below. The programmer should use meaningful variable names, extensively comment the code and provide source code that can be compiled using MS Visual C++ 6.0. Again this is a DOS console application not a Windows application. You can not use classes and should avoid any sophisticated or tricky techniques when coding. Code should be simple, well do cumented and effective. C++ Program Description A bank asks you to write their customers a little program that helps them to calculate their mortgage payments. Your program should have a menu that asks the customers what type of calculation they want to perform, and based on the input, the program should ask and receive the necessary data, call the respective function, and then display the result in a nicely formatted way. Orient yourself at the code sample and output below, i.e. use a switch statement and functions as shown, and have your menu look the same. Variables used: a = annual payment amount, P = initial loan amount, and r is the loan interest rate expressed as a decimal, n = number of years. P= a*[(1 + r)n - 1] / [(1 + r)n*r] // for 1 a = [P*(1 + r)n*r]/[(1 + r)n - 1] // for 2 ## Deliverables C++ Program Description A bank asks you to write their customers a little program that helps them to calculate their mortgage payments. Your program should have a menu that asks the customers what type of calculation they want to perform, and based on the input, the program should ask and receive the necessary data, call the respective function, and then display the result in a nicely formatted way. Orient yourself at the code sample and output below, i.e. use a switch statement and functions as shown, and have your menu look the same. Variables used: a = annual payment amount, P = initial loan amount, and r is the loan interest rate expressed as a decimal, n = number of years. P= a*[(1 + r)n - 1] / [(1 + r)n*r] // for 1 a = [P*(1 + r)n*r]/[(1 + r)n - 1] // for 2 Note ??" user enters a, r, n for P or P, r, n for a Mortgage Program: ====================================== Please select from the following menu: 1 ??" How much house can I afford? 2 ??" What will my yearly payments be? => **where (this is an example only; do not use p,a,r,n !!!!** switch(choice) { … case 1: cout << “Please enter annual payment amount??; cin >> a; … p = calculateInitialLoanAmount(a, r, n); cout << “You can afford a house up to $?? << p << end; cout << “(Disclaimer: see a specialist when buying a house)??; … Note: Please also address the following issues: - How does your program respond if I select choice “5?? ? - Did you protect against division by 0? - Do you unnecessarily repeat the same lines of code? To submit: - Listing - Screenshot for run with 1: $10000/year, 30 years, 7.5% (result ~$118100) - Screenshot for run with 2: $250000 loan, 20 years, 7.2% (result ~$23966) 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). I have had an excellent relationship with all RentaCoder developers that I have worked with. If you do a good job, finish it on time and keep me informed at all times, I will do the same. I am sure developers will enjoy working with me. ## Platform This program MUST be written in C++. It MUST compile in MS Visual C++ 6.0. It MUST not use classes or other advanced C++ techniques. It MUST be a DOS based application. Code should be simple, well documented, with commented and with meaningful variable names.
Project ID: 3113949

About the project

12 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$2 USD in 2 days
5.0 (98 reviews)
7.0
7.0
12 freelancers are bidding on average $33 USD for this job
User Avatar
See private message.
$4.25 USD in 2 days
5.0 (151 reviews)
6.2
6.2
User Avatar
See private message.
$17 USD in 2 days
5.0 (54 reviews)
5.2
5.2
User Avatar
See private message.
$9.35 USD in 2 days
5.0 (126 reviews)
4.7
4.7
User Avatar
See private message.
$4.25 USD in 2 days
5.0 (22 reviews)
4.3
4.3
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (42 reviews)
3.7
3.7
User Avatar
See private message.
$12.75 USD in 2 days
5.0 (19 reviews)
3.5
3.5
User Avatar
See private message.
$21.25 USD in 2 days
4.6 (9 reviews)
3.4
3.4
User Avatar
See private message.
$4.25 USD in 2 days
4.9 (14 reviews)
2.9
2.9
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (11 reviews)
2.8
2.8
User Avatar
See private message.
$255 USD in 2 days
4.5 (6 reviews)
1.4
1.4
User Avatar
See private message.
$17 USD in 2 days
5.0 (1 review)
0.5
0.5

About the client

Flag of UNITED STATES
Fort Wayne, United States
5.0
18
Member since Jun 18, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.